Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
Oliviero50 opened this issue Oct 5, 2020 · 5 comments
Open
3 tasks done

Comments

@Oliviero50
Copy link

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:

  • Chrome
  • Firefox
  • Edge

Versions

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

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
Copy link

@Oliviero50

@stale
Copy link

stale bot commented Mar 2, 2022

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 stale bot added the wontfix label Mar 2, 2022
@akstek
Copy link

akstek commented May 2, 2023

Any news about this?

@stale stale bot removed the wontfix label May 2, 2023
@lucasfanning
Copy link

lucasfanning commented May 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants