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

fix(NavigationMenu): prevent content from hiding when disableHoverTri… #1316

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunnylost
Copy link
Contributor

Fixes #1315.

When disableHoverTrigger=true is set, the trigger respects this setting and doesn't hide the content. However, there is no check in onContentLeave, causing the content to be hidden incorrectly.

But I believe this modification has a minor issue—it makes the logic inconsistent with how onTriggerLeave is handled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Close NavigationMenuContent on Click and prevent pointerleave
1 participant