Skip to content

Reviews: Pause autoscrolling when user is moving the flickable

ivan tkachenko requested to merge work/ratijas/pause-review-autoscrolling into master

Unfortunately there is no "pressed" state property in ListView, so it can't be prevented from scrolling without dragging left or right a bit.

Also as a potential optimization, stop the timer when the view is invisible, for example because its application page is outside of its Kirigami.ColumnView viewport.


Note: Pressing and holding the view causes a desync between listview's current item and pageindicator. It fixes itself on the next cycle. I know TapHandler exists, but it's always a russian roulette when event handlers interact with each other in QtQuick, so I'm not going that way 😒

Merge request reports