IOS9 web-callout fix

Hi, hope this helps someone:

If you suddenly see a “callout” when long pressing on a web view, that is due to a bug in IOS9 - it is ignoring -webkit-user-callout and -webkit-touch-callout set to none. The fix to this is to add this cordova plugin that ignores longpress. But don’t worry, this does not interfere with ionic’s long-press detection. https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix

To fix this simply do
cordova plugin add cordova-plugin-ios-longpress-fix
inside your code. Nothing else needed

2 Likes

Can confirm that this is still happening in ios 10 but the fix still works! Thanks!