You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiFocusTrap] Virtualized options in EuiComboBox cannot be selected with React v17 when inside EuiFocusTrap #4250
I recently updated my project to React 17 and noticed that in cases where I had EuiComboBox in EuiModal and EuiFlyout, clicking any options beyond the first "window" will cause it to scroll to top.
I'm relatively sure that this behavior is caused by EuiFocusTrap, here's a very quickly put together codesandbox that reproduces the problem. You can also downgrade the react-dom version down from 17 to 16 and see that it works fine.
I'm not sure how much the Eui team emphasize on keeping up to React updates. If it's not highly prioritized, I might try to help investigate if I get some free time.
Reacted by Ben Olson, Gautier, Gunnar, Benjamin Kniffler, Otto Ottinger and Aaron Martin-Colby
We will be upgrading to React 17 in the near future, but for now remain with a 16.x peerDependencies requirement. Reports like this will be helpful when we begin the work to upgrade.
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
Activity
thompsongl commentedon Nov 11, 2020
Thanks for reporting, @wenchonglee
We will be upgrading to React 17 in the near future, but for now remain with a 16.x peerDependencies requirement. Reports like this will be helpful when we begin the work to upgrade.
github-actions commentedon May 11, 2021
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
wenchonglee commentedon May 11, 2021
Bumping this up from staleness
(it would also be nice to hear if the Eui team has any timeline/plans to support React 17)
github-actions commentedon Nov 7, 2021
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.