Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to get ListView to stop scrolling when last item is visible
DuBu last edited by
a ListView allows one to scroll up until the last item reaches the top of the view. How can I tell ListView to stop scrolling when the last item scrolls into view (at the bottom of the view)?
Eeli K last edited by
@DuBu How about snapMode? snapMode: ListView.SnapToItem?
MaxL last edited by
Hi @DuBu ,
The listview should stop scrolling when the last item is plainly visible.
These are the things you can check to find out whats wrong:
- The height of your listview: set the clip property to true then you'll see only what is inside the listview height.
- The model: maybe you are having more elements that you expect.
Anyway , a little bit of your code would help a lot.