-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Modal triggers on SVG elements don't work on iOS #14710
Comments
(Changed example to JSbin to fix HTML errors) |
Sorry about that. JS Fiddle changed their markup recently, causing false-positives from the validator. |
I cannot reproduce on iPhone 5S running iOS 7.0.4; the "broken" JS Bin example works fine. This sounds like iOS Safari's element clickability bug (https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile ), which can be easily worked around at the user level. |
I can reproduce on iOS 8 in the iOS Simulator. Tested with http://jsbin.com/zodobe/1 and http://jsbin.com/yabuku/1. |
Closing in favor of necolas/normalize.css#379 / necolas/normalize.css#371 |
Hi,
when I place a bootstrap 3.2 Modal on an SVG element, it works fine on all devices except iOS (tested iPhone 5 and current iPad)
When i place an additional onclick="" attribute on the element, it works as expected.
I created a JSFiddle to test here:
SVG Modal does not work:
http://jsbin.com/lajilacajumu/1/edit?html,output
SVG Modal works:
http://jsbin.com/wiyasudumuto/1/edit?html,output
See the missing onclick="" on the first one.
Is it possible for Bootstrap to fix this somehow?
The text was updated successfully, but these errors were encountered: