Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Why using createWebHistory refreshing the page while navigating from Sidebar? #293

Discussion options

Hi,

As the title said, I want to use createWebHistory instead of createWebHashHistory for the router. And when I change it to createWebHistory it refresh the page while navigating through Sidebar. Is it possible to fix this? If it is, where do I fix this?

Thank you in advance!

You must be logged in to vote

I've got the same problem here. The workaround I did is to modify AppSidebarNav.js onClick event:
onClick: (e) => { e.preventDefault() props.navigate() },
But still I think it's just a workaround solution, because the same problem happened to CDropdownItem, CBreadcrumbItem

Replies: 2 comments · 1 reply

Comment options

I've got the same problem here. The workaround I did is to modify AppSidebarNav.js onClick event:
onClick: (e) => { e.preventDefault() props.navigate() },
But still I think it's just a workaround solution, because the same problem happened to CDropdownItem, CBreadcrumbItem

You must be logged in to vote
1 reply
@pervej-fac

This comment was marked as off-topic.

Answer selected by james-tanuwidjaja

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.