ListBox scroll into view

UI Components for Vue
Post Reply
Posts: 1
Joined: 10 Jan 2021, 12:23

10 Jan 2021, 12:32

I'm using ListBox from here

My ListBox implementation has fixed height and the :options array has many values, so a vertical scrollbar is rendered and many items fall below the visible area.
When I change the selected item by setting the v-model to a value towards the end of the list, the item gets selected in the ListBox component, but the selected item does not scroll into view, so the user has no idea that the item is actually selected.
I would expect that the selected item scrolled into view, either automatically, upon selection, or via a manual trigger (like having an "offset" prop which would set the number of items to scroll up in the list).


Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest