cordova应用程序“选择”下拉在iOS9中不工作 [英] cordova application "Select" dropdown not working in iOS9

查看:189
本文介绍了cordova应用程序“选择”下拉在iOS9中不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi我的cordova应用程式包含一个简单的选择下拉式选单,其中包含1,2,3,4选项。
当我在iPad的全部视图中打开我的应用程序,并单击选择下拉菜单,其开头,并能够选择一个选项。
但是当我在iOS9分割视图(33%或50%)中打开我的应用程序,并点击这个选择下拉菜单,选择下拉正在采取总分割屏幕宽度和高度和它没有反应。任何帮助将赞赏。我不使用任何外部插件像jquery移动等...感谢提前

Hi My cordova app contains a simple select dropdown Which contain options as 1,2,3,4. When I open My app in iPad Full view and click on Select dropdown, its opening and am able to select an option in it . But when I open My app in iOS9 split view(33% or 50%) and click on this "Select" dropdown, select dropdown is taking total split screen width and height and its not responding.Any help would be appreciated. I am not using any external plugins like jquery mobile etc... Thanks In advance

推荐答案

我遇到类似的问题,在弹出窗口中显示选择下拉列表。选择下拉菜单可见,但它没有响应点击事件。页面高度小于弹出窗口覆盖的高度。在向身体标记添加最小高度后,选择再次起作用。下面是我使用的示例css。

I've faced similar issue while trying to show select dropdown in a popup. Select dropdown was visible but it was not responding to click events. The page height was less than what the popup was covering. After adding min-height to body tag, "select" was functional again. Below is sample css that I'm using.

body{
    min-height:300px;
}

.popup-wrapper{
    position:absolute;
    top:40%;
}

希望这有帮助。

这篇关于cordova应用程序“选择”下拉在iOS9中不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆