长按期间移动 safari(和 cordova 应用程序)上的空工具提示
Empty tooltip on mobile safari (and cordova app) during long tap
我不知道这是否有帮助,但是当我在 移动 safari 中的网页上 点击并按住 时,或者在cordova/phonegap-made 应用程序 运行 在 iOS 中,有一个非常无用的空白 "tooltip" 弹出靠近视口的顶部,它只能水平移动屏幕。
我的问题是:是否可以防止这种行为,如何防止?它似乎不存在于 anchor <a>
anchor 元素上,但是将 anchor 放在各处似乎有点矫枉过正。
如果有人知道,只是为了让我睡觉时不那么愚蠢,这个功能叫什么,它到底有什么用?
我体内已经有以下 css 特性
-webkit-user-select: none;
和
-webkit-touch-callout: none;
防止文本选择和图像的复制和保存。
我从 App Store 下载了其他 phonegap 制作的应用程序,它们也有此功能,所以可能无法修复它。
无论如何,感谢您花时间阅读本文。
这是 UIWebview 上的错误
已在cordova上修复,下个版本可用,但您可以同时使用这个插件
https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix
我不知道这是否有帮助,但是当我在 移动 safari 中的网页上 点击并按住 时,或者在cordova/phonegap-made 应用程序 运行 在 iOS 中,有一个非常无用的空白 "tooltip" 弹出靠近视口的顶部,它只能水平移动屏幕。
我的问题是:是否可以防止这种行为,如何防止?它似乎不存在于 anchor <a>
anchor 元素上,但是将 anchor 放在各处似乎有点矫枉过正。
如果有人知道,只是为了让我睡觉时不那么愚蠢,这个功能叫什么,它到底有什么用?
我体内已经有以下 css 特性
-webkit-user-select: none;
和
-webkit-touch-callout: none;
防止文本选择和图像的复制和保存。
我从 App Store 下载了其他 phonegap 制作的应用程序,它们也有此功能,所以可能无法修复它。
无论如何,感谢您花时间阅读本文。
这是 UIWebview 上的错误
已在cordova上修复,下个版本可用,但您可以同时使用这个插件 https://github.com/EddyVerbruggen/cordova-plugin-ios-longpress-fix