Skip to content
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

[EuiSelectableTemplateSitewide] Clicking on any virtualized options causes scroll to top #4128

Closed
wenchonglee opened this issue Oct 10, 2020 · 0 comments · Fixed by #4152
Closed
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible

Comments

@wenchonglee
Copy link
Contributor

Hey,

I've been trying out EuiSelectableTemplateSitewide and I quite like it so far.

I noticed this behavior where clicking any of the options past the first few rendered by react-window will cause the list to be scrolled to the top. You can currently reproduce this by going to the example and searching 'a', then clicking on the last option.


image


Subsequent clicks would work, so having focus on the popover seems to do the trick. Is there a proper workaround or is there an underlying issue?

p.s. I wasn't sure if I should raise an issue for a minor problem like this:
the changelog entry from my PR #4072 had a merge issue and was misplaced in the 29.2.0 section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants