ListView does not return swiped item to original unswiped state with mouse
Closed this issue · 1 comments
When swiping an item in a ListView it stays at it moved position (left/right). The swiped
property is set to true
.
Once the list is scrolled up/down, the item gets moved back to it's zero position and swiped
is set to false
.
When using a mouse, the list item is not moved back to zero and swiped
is not set to false
. When the item moves out of view and comes back, it is back to its zero position, but swiped
is still not set to false
.
This problem came up while working on this MR for Teleports when trying to auto-disable fastscroll when an item is swiped. Because swiped
is readonly
, I currently see no way to force the item to it's "unswiped" state. Even moving it to zero position does not reset swiped
state.
Ubuntu UI Toolkit has moved to https://gitlab.com/ubports/core/lomiri-ui-toolkit. If this issue is still relevant, please file it again at https://gitlab.com/ubports/core/lomiri-ui-toolkit/-/issues.