[
https://issues.apache.org/jira/browse/CB-9685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968909#comment-14968909
]
ASF GitHub Bot commented on CB-9685:
------------------------------------
Github user EddyVerbruggen commented on the pull request:
https://github.com/apache/cordova-ios/pull/164#issuecomment-150170110
I think I'll be adding a configuration for this to config.xml as not all
folks may like this feature (new PR).
The plugin that inspired this PR has been around for a few weeks now:
https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix and while
most like it, it may break text selection. If your app needs that this feature
will cause trouble.
I propose enabling this private plugin only when a certain config.xml
property has been enabled.
And I'd also like to add a feature to suppress the magnifying glass for
devices with 3D Touch support. In the plugin mentioned above I've already done
so, by specifying a preference: `<preference name="Suppress3DTouch"
value="true" />`.
Any thoughts others want to share perhaps?
> A fix for the magnifying glass popping up on iOS9 when longpressing the
> webview
> -------------------------------------------------------------------------------
>
> Key: CB-9685
> URL: https://issues.apache.org/jira/browse/CB-9685
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CordovaLib, iOS
> Reporter: Eddy Verbruggen
> Assignee: Shazron Abdullah
> Labels: cordova-ios-4.0.x
>
> When pressing the webview for 500ms on iOS9 a magnification glass pops up. On
> UIWebView the popup is always at the top of the page (see the screenshot in
> the readme here:
> https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix), on
> WKWebView the popup is where your finger is.
> On UIWebView we have yet to find a non-native way (read: CSS) to fix the
> problem, but on WKWebView a few lines of CSS seem to fix the issue.
> This improvement is aimed at resolving the problem for UIWebView. There is no
> reason not to include a fix for WKWebView as well, other than I didn't invest
> time in it because of the CSS workaround.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]