Skip to content

Commit

Permalink
Conditioning closing through dragging in MMListDrawer and MMListMulti…
Browse files Browse the repository at this point in the history
…selectDrawer (#3413)

* bug fix

* list drawers interactive when listview not interactive
  • Loading branch information
VitorVieiraZ committed May 13, 2024
1 parent 5a62154 commit 62b603c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/qml/components/MMListDrawer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ MMDrawer {
property bool showFullScreen: false
property alias emptyStateDelegate: emptyStateDelegateLoader.sourceComponent

interactive: !listViewComponent.interactive

drawerContent: Item {
width: parent.width
height: {
Expand Down
2 changes: 2 additions & 0 deletions app/qml/components/MMListMultiselectDrawer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ MMDrawer {
signal searchTextChanged( string searchText )
signal selectionFinished( var selectedItems )

interactive: !listViewComponent.interactive

drawerBottomMargin: 0

drawerContent: Item {
Expand Down

0 comments on commit 62b603c

Please sign in to comment.