Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Modal triggers on SVG elements don't work on iOS #14710
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)
I created a JSFiddle to test here:
SVG Modal works:
See the missing onclick="" on the first one.
Is it possible for Bootstrap to fix this somehow?
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.