Drawer links not working in history mode
See original GitHub issueHello, 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:
- Created 7 years ago
- Reactions:1
- Comments:18 (15 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, a fix is on the way. Testing it from all angles.
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!