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

🐛 amp-subscriptions: Fixes click event delegation for iOS 12 and lower #26658

Merged
merged 3 commits into from Feb 7, 2020

Conversation

ChrisAntaki
Copy link
Contributor

@ChrisAntaki ChrisAntaki commented Feb 7, 2020

To fix an issue with click handling in iOS 12 and lower (#25754), listen to both the root node and, if it's defined, its body property as well.

@ChrisAntaki ChrisAntaki changed the title 🐛 amp-subscriptions: Fixes click event delegation for non-Safari browsers on iOS 🐛 amp-subscriptions: Fixes click event delegation for iOS 12 and lower Feb 7, 2020
@ChrisAntaki ChrisAntaki merged commit 3a1731a into ampproject:master Feb 7, 2020
rcebulko pushed a commit to rcebulko/amphtml that referenced this pull request Feb 7, 2020
ampproject#26658)

* Listens on both the rootNode and its body if present, stops propagation of click event

* Correctly listens to body additionally, adds a test
rcebulko pushed a commit to rcebulko/amphtml that referenced this pull request Feb 7, 2020
ampproject#26658)

* Listens on both the rootNode and its body if present, stops propagation of click event

* Correctly listens to body additionally, adds a test
rcebulko pushed a commit to rcebulko/amphtml that referenced this pull request Feb 7, 2020
ampproject#26658)

* Listens on both the rootNode and its body if present, stops propagation of click event

* Correctly listens to body additionally, adds a test
rcebulko pushed a commit that referenced this pull request Feb 7, 2020
#26658)

* Listens on both the rootNode and its body if present, stops propagation of click event

* Correctly listens to body additionally, adds a test
erwinmombay pushed a commit that referenced this pull request Feb 18, 2020
#26658)

* Listens on both the rootNode and its body if present, stops propagation of click event

* Correctly listens to body additionally, adds a test
rcebulko pushed a commit that referenced this pull request Feb 19, 2020
#26658)

* Listens on both the rootNode and its body if present, stops propagation of click event

* Correctly listens to body additionally, adds a test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants