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: don't trigger onHashChange if path is not the same #2792

Merged
merged 2 commits into from Apr 8, 2024
Merged

Conversation

brc-dd
Copy link
Member

@brc-dd brc-dd commented Apr 8, 2024

closes #2791

Caused because of fixes in vitepress - vuejs/vitepress@f6bd99e...49ea062

Earlier hashchange was not being emitted on path change, so just changing location to /tutorial/#step-1 was working fine inside onHashChange callback.

@brc-dd brc-dd marked this pull request as ready for review April 8, 2024 18:23
Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 49354fd
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/6614363f7489f700086cb5f6
😎 Deploy Preview https://deploy-preview-2792--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@brc-dd brc-dd changed the title fix: dont trigger onHashChange if path is not same fix: don't trigger onHashChange if path is not the same Apr 8, 2024
@brc-dd brc-dd merged commit 480e12d into main Apr 8, 2024
5 checks passed
@brc-dd brc-dd deleted the fix/tutorial branch April 8, 2024 18:26
brc-dd added a commit that referenced this pull request Apr 9, 2024
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.

can't navigate to other url
1 participant