-
Notifications
You must be signed in to change notification settings - Fork 840
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
[EuiFlyout] Improve usability of Kibana global search when flyout is open #5206
Comments
We'll need to figure out how we want to resolve these UX focus-fighting issues, then determine the technical approach to solving. To complicate things further, this probably involves allowing some kind of configuration by applications - e.g. maybe setting traps' importance/priority. I doubt we'll have the ability to take this on effort anytime soon, but it's certainly a very valid UX issue to resolve. |
Hey Chandler, i'm trying to fix both issues in EuiFlyout. Anyone is working on the same? |
@peteharverson - is this still an issue for your team in Kibana? @ryankeairns did a bit of testing with latest main and it looks like the global search + flyout flicker happens in Stack Mgmt and Integrations, but works in other areas like Obs rule creation, Discover, etc. I believe what you need to do here is use the See #5860 for more details |
@cee-chen yes we still need to resolve this for the flyouts inside ML, and as @ryankeairns reported it still affects other pages such as Index Management under Stack Management. Do you have some sample code which shows how we can pass the nav bar element into |
Did a bit more digging, and hilariously enough... You can actually see the exact focus issue you reported happening on our "Elastic navigation pattern" demo 😅 Which is actually a great opportunity for me to exemplify how to fix the problem: https://github.com/elastic/eui/pull/6566/files Also, just thinking out loud - after poking around a bit more at our various header/page template patterns, I wonder if it would make sense for EUI to just automatically bake all fixed I'm a little worried there's some edge case I haven't thought of where EuiFlyout wouldn't sit under the fixed header, but I can't think of one? We could probably provide some kind of Thoughts and opinions very much appreciated! |
After poking at this a bit more locally, I think we need to implement this on EUI's side after all, mostly due to accessibility concerns. There's a lot of focus/accessibility things that start happening once you include headers in Trevor, do you have some time Wednesday morning to hop on a screenshare to brainstorm default flyout focus trap behavior? |
Thanks for posting updates @cee-chen. Agree it sounds best for the behavior here to be addressed on the EUI side if possible. |
@peteharverson Just as a heads up, this fix will not be in by 8.7 unfortunately, but will be in for 8.8. Hoping that's okay given the age of this issue, but please feel free to let us know if not. |
@cee-chen 8.8 is fine by me. Glad you managed to find a fix on the EUI side. |
With an
EuiFlyout
open, it is not possible to use the input in the Kibana global search bar. As soon as you click in the search input to give it focus, focus is transferred back to the flyout.It would be ideal if the global search bar could retain focus, or if this is not possible provide better usability to prevent the user trying to interact with elements outside of the flyout.
The text was updated successfully, but these errors were encountered: