-
Notifications
You must be signed in to change notification settings - Fork 205
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
fix: match "pointerup" listeners with "pointercancel" for full coverage #2597
Conversation
271aaa0
to
6eb873f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's such a pity to have to lift the responsibility for all this pointer-state handling into JS. I know this was re: a browser bug... maybe something we could track to subsequently cut all of this?
One other approach to consider, now that the bookkeeping list is getting pretty large, is using an AbortController
signal to remove batches of event listeners instead of having to manually keep them in sync.
Yeah, for larger number of matched listeners #1877 does make a lot of sense. Some of these are JS first problems, others (like synthetic |
Tachometer resultsChromeaction-bar permalink
action-button permalink
action-group permalink
action-menu permalink
button permalink
card permalink
dialog permalink
menu permalink
number-field permalink
overlay permalink
picker permalink
popover permalink
search permalink
slider permalink
split-button permalink
tags permalink
toast permalink
tooltip permalink
Firefoxaction-bar permalink
action-button permalink
action-group permalink
action-menu permalink
button permalink
card permalink
dialog permalink
menu permalink
number-field permalink
overlay permalink
picker permalink
popover permalink
search permalink
slider permalink
split-button permalink
tags permalink
toast permalink
tooltip permalink
|
Description
Ensure all
pointerup
listeners are matched with apointercancel
listener in case the visitor proceeds to scroll while the pointer is down.How has this been tested?
Types of changes
Checklist