Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.05k stars 2.01k forks source link

Polymer Gestures: Left mouse button "Up" event not firing after right mouse button click. #5674

Open Oliviero50 opened 3 years ago

Oliviero50 commented 3 years ago

Description

Polymer Gesture "Up" event does not fire on the left mouse button up ("mouseup"), when the right mouse button was clicked in the meantime.

Live Demo

https://jsfiddle.net/f47kun0v/25/

Steps to Reproduce

1) Add "down" and "up" events to an element. 2) Click and HOLD Left Mouse Button Down. 3) Click and Release the right mouse button. 4) RELEASE the left mouse button.

Polymer "Up" Event is never fired.

Expected Results

The "up" event of the left mouse button should be fired even if the right mouse button was clicked during left mouse button being clicked.

Actual Results

Polymer "Up" Event is never fired. It looks like the the event listeners are reset (untrackDocument()) on right mouse button click, so the "mouseup" event is never caught.

Browsers Affected

Tested with these:

Versions

Blakelist7 commented 3 years ago

Can anyone provide me with the resources how to fix this issue? As I am a beginner and don't know much about it.

Blakelist7 commented 3 years ago

@Oliviero50

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

akstek commented 1 year ago

Any news about this?

lucasfanning commented 1 year ago

show

On Tue, May 2, 2023 at 7:18 AM akstek @.***> wrote:

Any news about this?

— Reply to this email directly, view it on GitHub https://github.com/Polymer/polymer/issues/5674#issuecomment-1531224881, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJABVIHCYVP3PBVLCKEKY3XEDNOXANCNFSM4SERAQIQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>