angular-ui / ui-scroll

Unlimited bidirectional scrolling over a limited element buffer for AngularJS applications
http://angular-ui.github.io/ui-scroll/demo/
MIT License
326 stars 107 forks source link

Flicker effect on reloading datasource on keypress serach #283

Closed sonaligithub10 closed 5 months ago

sonaligithub10 commented 1 year ago

For performing search action on dropdown with UI- Scroll with keypress search required for every key entered, to go at some specified position(index) on the search key entered we need to reload datasource with adapter.reload() method which gives a constant flickering effect for the dropdown menu.

dhilt commented 1 year ago

Unfortunately this is by design, you have to rebuild the viewport when the data used in the viewport changes, and the only way do it is by adapter.reload which acts like hard reset...