Listview scrollbar question


I have a question about the scrollbar in the listview.

This is the order of operation.

  1. Add 20 items with pushBackCustomItem
  2. Move scrollbar to the bottom
  3. Create a menu button and add 10 item (use pushBackCustomItem)
  4. Scroll bar is forcibly moved to the top

I don’t want the scrollbar to move.
I hope it works like a forum board.
How can I fix this?

1 Like

Show us please.

You always can jump to bottom item by calling:

ListView->jumpToItem(index, Vec2::ANCHOR_MIDDLE, Vec2::ANCHOR_MIDDLE);

where index is index of last element.
Or even better - jumpToBottom(…


I don’t want to go bottom…