-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
iOS click.delegate not functioning without cursor: pointer #263
Comments
Maybe adding a small note about it in the docs could help? |
I just spent hours pulling my hair out over this. It says in the answer to the above SO post that attaching the listener to the first child of body should work. Could that be a possible workaround? |
yep.. apple way or the highway.. |
Daaaamn! it was just this :-o |
Even worse.. without!!!!! @EisenbergEffect this is not an issue with aurelia |
Seems to be a problem with
click.delegate
on iOS, if the element doesn't have the stylingcursor: pointer
.plnkr show the issue, tested using the iPad simulator (ignore the repeats, they have nothing to do with the issue):
http://plnkr.co/edit/Lpirev?p=preview
I've found what I think is a similar issue on stackoverflow. They say the event won't bubble all the way to body, if the cursor isn't pointer. They also mention other workarounds (such as using trigger for our case).
http://stackoverflow.com/questions/10165141/jquery-on-and-delegate-doesnt-work-on-ipad
Is it even something Aurelia will do anything about? I expect many to run into this very same problem, and be completly puzzled by it, but doesn't have anything to do with Aurelia directly.
The text was updated successfully, but these errors were encountered: