Skip to content

MenuLink triggers loadingBar on drag and right click #381

Open

Description

@mootari

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', () => {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions