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(theme): close menu on route change #887

Merged
merged 4 commits into from
Jul 2, 2022
Merged

fix(theme): close menu on route change #887

merged 4 commits into from
Jul 2, 2022

Conversation

zonemeen
Copy link
Collaborator

@zonemeen zonemeen commented Jul 1, 2022

fix #872

@brc-dd
Copy link
Member

brc-dd commented Jul 1, 2022

The issue is still there. Check the deploy preview.

@zonemeen
Copy link
Collaborator Author

zonemeen commented Jul 2, 2022

The issue is still there. Check the deploy preview.

@brc-dd hi, I have modified the pr

@brc-dd
Copy link
Member

brc-dd commented Jul 2, 2022

@zonemeen Still not working:

Getting.Started._.VitePress.-.Google.Chrome.2022-07-02.12-50-58_Trim.mp4

Also, using window at top level will cause SSR issues. Run docs-build script, it'll throw you some errors.

@brc-dd
Copy link
Member

brc-dd commented Jul 2, 2022

Hi! You're changing the functionality of sidebar not the menu. Wait, they both were broken IG.

@brc-dd brc-dd changed the title fix: press the return key to close the menu fix(theme): close menu on route change Jul 2, 2022
@zonemeen
Copy link
Collaborator Author

zonemeen commented Jul 2, 2022

I originally thought #872 was describing the problem I'm fixing, I misunderstood 🤣

@brc-dd brc-dd merged commit fcd7642 into vuejs:main Jul 2, 2022
@brc-dd
Copy link
Member

brc-dd commented Jul 2, 2022

Yeah, there are lot of menus. It gets confusing at times! 😅

brc-dd added a commit that referenced this pull request Jul 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The return key should first close the open menu
2 participants