solidjs/solid-site

MenuLink triggers loadingBar on drag and right click

mootari opened this issue · 0 comments

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:

  1. visit https://www.solidjs.com/
  2. scroll to nav bar
  3. on any menu link:
    • press and hold mouse button (optionally drag)
    • right click link (e.g. to open in new window or copy)
  4. note that both cases will trigger the loading bar atop the nav bar

Source:

createEventListener(linkEl, 'mousedown', () => {