QML ListView: How to disable autoscrolling when new elements prepend/append/inserted?



  • I am trying to prepend a number of model elements at the front of model, but I don't want to show them immediately.

    This function "positionViewAtIndex()" may be useful, but really poor performance.

    Thanks for any advice.



  • You can try to set highlightFollowsCurrentItem to false or save the current item before the prepend and restore it afterwards


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.