Skip to content

Issue with b-nav-item #2339

Closed Answered by xvaara
yingfeng-iu asked this question in Q&A
Nov 13, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

the replace="false" doen't effect the element. You are using your own routeTo function so you might want to start looking the problem from there. Propably add .prevent to the @click handler for vue to ignore the underlying a tag link, which causes popState event and triggers navigation.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yingfeng-iu
Comment options

Answer selected by xvaara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants