cordova-plugin-ios-longpress-fix icon indicating copy to clipboard operation
cordova-plugin-ios-longpress-fix copied to clipboard

WKWebView - please advise how can i prevent long press

Open singhrajvirk opened this issue 9 years ago • 3 comments

singhrajvirk avatar Jan 30 '16 02:01 singhrajvirk

yeah same problem. its not working with WKWebViews

devdudeio avatar Mar 10 '16 20:03 devdudeio

same problem! Any tips !?

nicolashauzareerts avatar Apr 29 '16 14:04 nicolashauzareerts

Works for me using Cordova iOS 3.9 and eddys WkWebView plugin, plus this longpress plugin, and the trick was that you have to really get CSS right. In my case, my buttons were having this magnification effect. It turned out the CSS for my buttons was setup in such a way as to lose the over-rides for user-select, user-callout, and touch-callout. Once I fixed that, it worked.

jgberg avatar Jul 29 '16 19:07 jgberg