-
Notifications
You must be signed in to change notification settings - Fork 839
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
[EuiDataGrid][EuiFlyout] Browser crashes on click if flyout is over EuiDataGrid #4799
Comments
This might be related to #4484 |
I can consistently reproduce in Chromium browsers, but have not yet been able to reproduce in Firefox. |
@thompsongl @chandlerprall I think I tracked down the issue to the In my tests, waiting a tick before focusing the cell gives the flyout enough time to release the focus trap: Not sure whether there is a more elegant way to fix it. What do you think? |
Thanks for investigating, @flash1293 |
I will set up a PR for this - it's an important issue for Lens because due to our layout it's easy to run into this. |
Referenced in elastic/kibana#100111
Steps to reproduce:
Live demo: https://codesandbox.io/embed/pensive-easley-mxz5s?fontsize=14&hidenavigation=1&theme=dark
From some initial debugging this is due to some conflicts around the
FocusTrap
s used in both components (one in Flyout and one for each EuiDataGrid cell).At the same time having multiple flyout stacked (as in Lens with elastic/kibana#95217 ) the same issue can be reproduced also with a left click.
The text was updated successfully, but these errors were encountered: