Skip to content
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

[BUG] Collapsible nav quickly reopens when clicking the trigger buttin #1391

Closed
AMoo-Miki opened this issue Mar 28, 2022 · 0 comments · Fixed by #1394
Closed

[BUG] Collapsible nav quickly reopens when clicking the trigger buttin #1391

AMoo-Miki opened this issue Mar 28, 2022 · 0 comments · Fixed by #1394
Assignees
Labels
bug Something isn't working

Comments

@AMoo-Miki
Copy link
Collaborator

After the EUI bump, the nav trigger button quickly closes and opens the collapsible nav.

Before EUI bump:
old_hamburger

After EUI bump:
new_hamburger

This odd behavior is due to the outsideClickCloses of EuiFlyout, passed by EuiCollapsibleNav, firing before the click handler of the button and resulting in closing and reopening; outsideClickCloses defaults to true on EuiCollapsibleNav. Setting the prop to false appears to solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants