question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drawer links not working in history mode

See original GitHub issue

Hello, v0.8 is great. But quasar-drawer-link are not working within the drawer when the router is in history mode. With quasar dev as well as with Firebase hosting (with SPA rewrites to /index.html). Also $router.push(...) are not working within the drawer. Direct router-link from a “view” are working. You can see all this by cloning this example repo: https://github.com/laurentpayot/quasar-layout-spa Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:18 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
rstoenescucommented, Nov 2, 2016

Ok, a fix is on the way. Testing it from all angles.

2reactions
rstoenescucommented, Nov 2, 2016

Haven’t investigated yet, but I bet that it’s because drawer close event should be triggered before router-link (subcomponent of drawer-link) changes route. This happens in hash mode but router link Vue implementation breaks this when on history mode. It should have been implemented more consistently. Closing the drawer goes back one step in window history (we need this to be able to close drawer with back button). I’ll see for a workaround. Thanks for your feedback all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Did you know that Org links in property drawers are not links?
Are you telling me that the URL https://orgmode.org/worg/ used as property value in a property drawer is not a link?
Read more >
Reactjs history push doesn't work in drawer component
In Drawer component I want to change the route. When I hit on route method, I can see the route name is changing...
Read more >
recent (history) apps not showing in app drawer
I tried to clear the cache via recovery mode, tried disabling and enabling of history. even tried clearing the history option. nothing worked....
Read more >
How to Fix Links Not Working in Chrome - groovyPost
To test links in incognito mode on Chrome: Open Google Chrome. Press the three-dots menu icon and press New Incognito Window.
Read more >
React & Material UI #21: Drawer & Drawer + React Router
In this video we go over:- The 3 Material UI Variants within React- MUI Drawer props- How the Drawer works with List and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found