when using "use:link" middle click will not work
See original GitHub issueWhen using the “use:link” option and i want to open the link in a new tap (middle click in the mouse) it will open as /book/321 instead of /#/book/321.
<a href="/book/321" use:link>The Little Prince</a>
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How To Fix Mouse Middle Click is Not Working on ... - YouTube
In this video I will show you guys how to fix the middle mouse button is not working in your windows 10 pc...
Read more >Middle-clicking to open link in a new tab in Firefox 15 does not ...
Go to Options > Advanced > General and check Use autoscrolling . If it doesn't fix the problem, create a new Firefox profile...
Read more >Click with middle button can't load onclick function on Firefox
I'm already search a lot but still can't find the right answer. I wonder why middle click (scroll button) can't load onclick function...
Read more >I hear that the scroll wheel is a bit tough to click down. Was ...
The real answer is that there is not enough friction on the scroll wheel itself. I have never had an problem with accidentally...
Read more >Why and when did Firefix middle mouse button scroll get ...
Why is Mozilla constantly changing things or deleting things that are useful and replacing them with things that are useless? I can no...
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
@TorstenDittmann thanks for the PR.
I’ve been thinking about this, and I’m wondering if the best way would actually be to change the handler so it actually modifies the
href
element rather than waiting for a click? Otherwise, we’d have to support a lot of cases, such as middle button click, right-click and then “open in new tab”, etc…Thoughts?
I think this is the same issue?
<a href="/line/{line.id}" use:link>
When I control or shift click, to open in a new tab or new window, it just opens it in the same tab.
If I use
<a href="#/line/{line.id}">
then it seems the router works properly and there’s no extra page loads from a full refresh.Is this a bug to be fixed?