-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep the scroller position while scrolling lazily and with undefined size #902
Conversation
addad21
to
6b1a465
Compare
I assume the fix can be tested in |
The scroll position should ideally be restored when only the As it is, the suggested change causes the following UX regression (on filter the index is restored to a random position): Compare to the behavior in master: |
Good catch, thanks. Indeed, when we apply a filter, it may happen that the
I noticed the methods |
I made a fix to address this regression with filtering and tested it with basic demo example using large size item array. Unit test has been modified as well, because previously it passed even with this regression. Please review. |
Fixes vaadin/vaadin-combo-box-flow#386