solid-site
solid-site copied to clipboard
MenuLink triggers loadingBar on drag and right click
The loading bar at the top of the nav bar is supposed to indicate the loading progress of a route change, but triggers prematurely when dragging or right-clicking menu links.
Steps:
- visit https://www.solidjs.com/
- scroll to nav bar
- on any menu link:
- press and hold mouse button (optionally drag)
- right click link (e.g. to open in new window or copy)
- note that both cases will trigger the loading bar atop the nav bar
Source: https://github.com/solidjs/solid-site/blob/968412cad374c58a7b182e63fe726a54a1c1a470/src/components/Nav/MenuLink.tsx#L38