polymer
polymer copied to clipboard
Polymer Gestures: Left mouse button "Up" event not firing after right mouse button click.
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
- Add "down" and "up" events to an element.
- Click and HOLD Left Mouse Button Down.
- Click and Release the right mouse button.
- 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
Can anyone provide me with the resources how to fix this issue? As I am a beginner and don't know much about it.
@Oliviero50
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.
Any news about this?
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: @.***>