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

W3CPointerEvents: change click event from direct to bubbling #37539

Closed
wants to merge 1 commit into from

Conversation

adanoff
Copy link

@adanoff adanoff commented May 23, 2023

Summary:
AFAICT this was added in #24359 to support accessibility, however per the spec the click event is supposed to bubble up.

This change updates the necessary configs so that click is treated as a bubbling event and not as a direct-dispatch event.

Changelog: [Android] [Breaking] - W3CPointerEvents: change click event from direct to bubbling

Reviewed By: yungsters

Differential Revision: D45745906

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels May 23, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45745906

adanoff pushed a commit to adanoff/react-native that referenced this pull request May 24, 2023
…k#37539)

Summary:
Pull Request resolved: facebook#37539

AFAICT this was added in facebook#24359 to support accessibility, however per [the spec](https://www.w3.org/TR/uievents/#event-type-click) the click event is supposed to bubble up.

This change updates the necessary configs so that `click` is treated as a bubbling event and not as a direct-dispatch event.

Changelog: [Android] [Breaking] - W3CPointerEvents: change click event from direct to bubbling

Reviewed By: yungsters

Differential Revision: D45745906

fbshipit-source-id: 3c23d4ec82570e43eefd7295d301601396962ef0
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45745906

@analysis-bot
Copy link

analysis-bot commented May 24, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,739,921 -236
android hermes armeabi-v7a 8,051,030 -236
android hermes x86 9,230,128 -232
android hermes x86_64 9,081,762 -234
android jsc arm64-v8a 9,302,090 -2
android jsc armeabi-v7a 8,490,783 -5
android jsc x86 9,363,360 -16
android jsc x86_64 9,619,118 -6

Base commit: bdeb09b
Branch: main

adanoff pushed a commit to adanoff/react-native that referenced this pull request May 25, 2023
…k#37539)

Summary:
Pull Request resolved: facebook#37539

AFAICT this was added in facebook#24359 to support accessibility, however per [the spec](https://www.w3.org/TR/uievents/#event-type-click) the click event is supposed to bubble up.

This change updates the necessary configs so that `click` is treated as a bubbling event and not as a direct-dispatch event.

Changelog: [Android] [Breaking] - W3CPointerEvents: change click event from direct to bubbling

Reviewed By: yungsters

Differential Revision: D45745906

fbshipit-source-id: 94ea6c5a84120f35a4fa6044b08462b0cb1a77e7
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45745906

…k#37539)

Summary:
Pull Request resolved: facebook#37539

AFAICT this was added in facebook#24359 to support accessibility, however per [the spec](https://www.w3.org/TR/uievents/#event-type-click) the click event is supposed to bubble up.

This change updates the necessary configs so that `click` is treated as a bubbling event and not as a direct-dispatch event.

Changelog: [Android] [Breaking] - W3CPointerEvents: change click event from direct to bubbling

Reviewed By: yungsters

Differential Revision: D45745906

fbshipit-source-id: 62ed0c8811bc6665ca7ba663d8aedeab68b17a44
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45745906

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 25, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 61eb9b4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants