Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Change light dismiss to use click events #11536

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

josepharhar
Copy link
Contributor

@josepharhar josepharhar commented Aug 5, 2025

This PR replaces the existing pointerdown and pointerup listening and tracking with algorithms which use a click event. The click event is going to be used by the pointerevents spec here:
w3c/pointerevents#460

Using click events instead of doing click detection with pointerdown and pointerup fixes a number of issues which are detailed here: w3c/pointerevents#542

Fixes #10905

(See WHATWG Working Mode: Changes for more details.)


/interactive-elements.html ( diff )
/popover.html ( diff )

This PR replaces the existing pointerdown and pointerup listening and
tracking with algorithms which use a click event. The click event is
going to be used by the pointerevents spec here:
w3c/pointerevents#460

Using click events instead of doing click detection with pointerdown and
pointerup fixes a number of issues which are detailed here:
w3c/pointerevents#542

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

Successfully merging this pull request may close these issues.

Popovers are broken when shown in a contextmenu event listener
1 participant