屏幕元素部分无法点击

时间:2016-03-10 08:30:37

标签: ios iphone cordova twitter-bootstrap-3

我在iOS上的cordova应用程序上遇到了一些奇怪的问题(在Android上一切正常)。有时屏幕(仅在iPhone上,而不是在iPad上 - 这里的一切工作也很好!)似乎被一个看不见的层部分覆盖 - 这是你在使用应用程序时的感觉。我无法点击某些元素,也无法滚动视图。

这是我可以重现错误的情况(不是每次都会发生 - 这个错误是随机发生的)。

首先我在一个问题中拍照(#issue-viewer打开) - 将使用插件cordova-plugin-camera。然后我将点击照片进行编辑 - 创建并显示#olImageViewer和.image-viewer。也许它可以在元素上点击一次。 .image-viewer .content中的任何内容都不会对我的点击做出反应。如果我能够做一个小修改并尝试关闭窗口,我将被要求保存这些修改 - 所以出现另一个弹出窗口(最后一张图片)。几乎同样的问题在这里!我无法点击红色按钮,但可以访问绿色按钮。但是:屏幕边缘的叠加始终是可以点击的!

简短补充:我使用Bootstrap 3.3.5作为CSS框架。 #provent-viewer基于他们的模态类。

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

使用GapDebug进行调试后,我可以清楚地说:没有任何东西可以防止元素被窃听。 z-indexes设置正确。

正在使用以下软件版本:

  

OS X:10.11.3

     

cordova:6.0.0

     

cordova iOS平台:3.9.2

     

节点:5.6.0

     

Xcode:7.2.1

安装了以下插件:

  

com.dvdbrink.cordova.indexeddb 0.1.0“Cordova-indexedDB”

     

cordova-plugin-camera 1.2.0“相机”

     

cordova-plugin-crosswalk-webview 1.5.0“Crosswalk WebView Engine”

     

cordova-plugin-file 3.0.0“文件”

     

cordova-plugin-file-opener2 2.0.2“File Opener2”

     

cordova-plugin-file-transfer 1.5.0“文件传输”

     

cordova-plugin-google-analytics 0.8.1“Google Universal Analytics   插件“

     

cordova-plugin-googleplayservices 19.0.3“Google Play服务   Android“的

     

cordova-plugin-inappbrowser 1.2.0“InAppBrowser”

     

cordova-plugin-network-information 1.1.0“网络信息”

     

cordova-plugin-splashscreen 3.0.0“Splashscreen”

     

cordova-plugin-statusbar 2.0.0“StatusBar”

     

cordova-plugin-whitelist 1.2.0“白名单”

     

phonegap-plugin-barcodescanner 4.1.0“BarcodeScanner”

如果您需要任何其他信息,请随时提出要求。 :)

提前致谢!

/ edit:我替换了位置:由绝对和更新显示修复:table to flex。没有改变任何东西:/

1 个答案:

答案 0 :(得分:0)

同样在这里。在cordova插件上解雇相机似乎是一个问题。

相关问题