-
Notifications
You must be signed in to change notification settings - Fork 844
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
[EuiSelectable+EuiComboBox] recent regresion fixes #3784
[EuiSelectable+EuiComboBox] recent regresion fixes #3784
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog formatting nit-picks but otherwise this LGTM!
Preview documentation changes for this PR: https://eui.elastic.co/pr_3784/ |
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested for both original bugs which are both fixed! Thanks for the quick PR!
Preview documentation changes for this PR: https://eui.elastic.co/pr_3784/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Summary
Fixes two regressions caused by the recent selectable-a11y branch.
react-window
library replacingreact-virtualized
, this in conjunction with EuiFormRow was causing an extra rerender on click of virtualized elements which broke clicking... Adding a check in EuiFormRow for if the thing needs to rerender fixes it.Checklist
- [ ] Checked Code Sandbox works for the any docs examples- [ ] Added or updated jest tests- [ ] Props have proper autodocs- [ ] Added documentation- [ ] Checked in IE11- [ ] Check against all themes for compatibility in both light and dark modes