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

Fix #10546 - "click" event not bubbling up to the document on iOS #623

Closed
wants to merge 1 commit into from
Closed

Fix #10546 - "click" event not bubbling up to the document on iOS #623

wants to merge 1 commit into from

Conversation

sindresorhus
Copy link
Contributor

On iOS the "click" event does not bubble up to the document with an exception of inputs and links, it stops right before the body.

Apparently setting the documentElement cursor to pointer fixes this.

Bug ticket

On iOS the "click" event does not bubble up to the document with an exception of inputs and links, it stops right before the body.

Apparently setting the documentElement cursor to pointer fixes this.
@dmethvin
Copy link
Member

dmethvin commented Dec 7, 2011

Just for record-keeping, kinblas set up a test case:
http://www.shinarp.com/RnD/events/mouse-event-bubbling.html

As discussed, we won't apply this because it highlights all elements that are tap-held and also disables copy/paste on text! We're planning to write up more detail about how this can be worked around.

@dmethvin dmethvin closed this Dec 7, 2011
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants