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
Improve outside click and focus trap handing of EuiNavDrawer #1712
The one last thing I saw that was odd is that in mobile screen sizes, clicking the white area of the flyout closes the whole sidebar. It doesn't do this in larger breakpoints.
I think there is something a little off with how the OutsideClickDetector is being enabled/disabled by the mobile menu button. This was becoming apparent when I was trying to fix up the 'toggle flyout if you click/touch the same icon again'. As I dug into it, it felt like a thing that would make for a follow-up PR as it touches logic in a few places.
This issue could likely be addressed along with #1713
changed the title [-]Improve outside click handing of EuiNavDrawer[/-][+]Improve outside click and focus trap handing of EuiNavDrawer[/+]on Mar 12, 2019
Not sure if this'll be related to this issue, but there's something odd going on right now in the latest version of EUI where if I lock the NavDrawer, then unlock it, it doesn't detect the outside clicks and close the NavDrawer. Maybe something caused by the TypeScript migration?
Edit: I think I can see the issue actually, will submit a PR.
Activity
[-]Improve the mobile menu toggling[/-][+]Improve outside click handing of EuiNavDrawer[/+]cchaos commentedon Mar 12, 2019
Edited title since it's an all around problem, not just mobile specific.
[-]Improve outside click handing of EuiNavDrawer[/-][+]Improve outside click and focus trap handing of EuiNavDrawer[/+]cchaos commentedon Mar 12, 2019
Also including focus trap on this one.
seeruk commentedon May 1, 2020
Not sure if this'll be related to this issue, but there's something odd going on right now in the latest version of EUI where if I lock the NavDrawer, then unlock it, it doesn't detect the outside clicks and close the NavDrawer. Maybe something caused by the TypeScript migration?
Edit: I think I can see the issue actually, will submit a PR.
cchaos commentedon Sep 18, 2020
This component is being deprecated in favor of EuiCollapsibleNav