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: close mobile nav after clicking on link #199

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mooxl
Copy link

@mooxl mooxl commented Nov 17, 2024

This PR closes the MobileMenu after clicking a link by triggering the onClose function. The onClick event fires immediately, closing the dialog. To reduce the perceived wait time after clicking a link and closing the menu, I added prefetching.
Fixes #194

Copy link

vercel bot commented Nov 17, 2024

@mooxl is attempting to deploy a commit to the umami-software Team on Vercel.

A member of the Team first needs to authorize it.

Signed-off-by: Max Schmidt <[email protected]>
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.

Mobile Menu Doesn't Close After Clicking a Link
1 participant