Skip to content
Snippets Groups Projects
Commit 5186c273 authored by Andreas Hatziiliou's avatar Andreas Hatziiliou Committed by Andreas Traczyk
Browse files

chatview: fix issue with layout stacking

When the conversationview was resized horizontally to be small enough
so that only one pane is visible, the chatview header and footer would be visible, but clicking them would interact with the objects of
the pane below (the left side panel)

GitLab: #1868

Change-Id: Ic1fac91ef30fcc3078223e1705f10c8a112c2091
parent 7e926a3e
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,14 @@ import "../js/pluginhandlerpickercreation.js" as PluginHandlerPickerCreation
Rectangle {
id: root
// HACK: Added to capture the mouse when the layouts start stacking.
// The header and footer we're unable to be interacted with otherwise.
MouseArea {
anchors.fill: parent
propagateComposedEvents: false
enabled: viewCoordinator.isInSinglePaneMode
}
// An enum to make the details panels more readable.
enum ExtrasPanel {
SwarmDetailsPanel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment