Avoid hidden swipe actions in mobile/tablet mode as those are broken
When clicking on an action the action is not triggered but the whole list item enters a broken state instead. This can also be reproduced on the desktop by setting `QT_QUICK_CONTROLS_MOBILE=1`.
This commit is contained in:
parent
f20c7b5d3d
commit
c2fc538e2c
|
@ -14,6 +14,7 @@ Item {
|
|||
|
||||
Kirigami.SwipeListItem {
|
||||
id: listItem
|
||||
alwaysVisibleActions: true // default is broken in mobile/tablet mode
|
||||
contentItem: RowLayout {
|
||||
Kirigami.ListItemDragHandle {
|
||||
listItem: listItem
|
||||
|
|
|
@ -14,6 +14,7 @@ Item {
|
|||
|
||||
Kirigami.SwipeListItem {
|
||||
id: listItem
|
||||
alwaysVisibleActions: true // default is broken in mobile/tablet mode
|
||||
visible: !model.isLastRow
|
||||
contentItem: RowLayout {
|
||||
id: fieldRow
|
||||
|
|
Loading…
Reference in New Issue