solid-site icon indicating copy to clipboard operation
solid-site copied to clipboard

MenuLink triggers loadingBar on drag and right click

Open mootari opened this issue 3 years ago • 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: https://github.com/solidjs/solid-site/blob/968412cad374c58a7b182e63fe726a54a1c1a470/src/components/Nav/MenuLink.tsx#L38

mootari avatar Aug 23 '22 16:08 mootari