mousemove event triggered when pressing mouse button

Confirmed Issue #14837691 • Assigned to travil

Details

Author
Jaap L.
Created
Nov 27, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Create an HTML page containing a DIV element.
Attach an eventListener to the DIV element observing the mousemove event and have the callback log something in the console.
Move the mouse pointer over the DIV element and press and hold the left mousebutton.
Observe that after holding the mouse button for about 1.5 seconds a log message appears in the console, showing that a mousemove event was registered by the eventListener.

I would expect no mousemove event to be triggered by pressing and holding a mousebutton while not moving the mouse.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. Please update this case when you can provide more details, such a reduced sample code or a sample webpage.

    Best Wishes,
    The MS Edge Team

  • Hi James,

    I have attached an HTML file you can open in Edge to reproduce the issue.

    Best,
    Jaap

  • Microsoft Edge Team

    Changed Assigned To to “travil”

    Changed Status to “Confirmed”

You need to sign in to your Microsoft account to add a comment.

Sign in