ListBox - Scroll to position

This is probably a feature request...

It'd be nice if the ListBox component had a function to scroll to a specific position. E.g. I have a list of several hundreds of names and .scrollToIndex(something) would scroll there so the user would not have to search for it.

1 Like

This may help:

document.querySelector("#controlName li.ui-state-highlight").scrollIntoView();

I was having the same issue and this got it working.

1 Like