polymer icon indicating copy to clipboard operation
polymer copied to clipboard

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

Open Oliviero50 opened this issue 4 years ago • 5 comments

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:

  • [x] Chrome
  • [x] Firefox
  • [x] Edge

Versions

  • Polymer: v3.3.0 (3.4.1 did not work either)
  • webcomponents: v2.2.10

Oliviero50 avatar Oct 05 '20 10:10 Oliviero50

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 avatar Nov 24 '20 16:11 Blakelist7

@Oliviero50

Blakelist7 avatar Nov 24 '20 16:11 Blakelist7

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.

stale[bot] avatar Mar 02 '22 10:03 stale[bot]

Any news about this?

akstek avatar May 02 '23 10:05 akstek

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: @.***>

lucasfanning avatar May 05 '23 23:05 lucasfanning