HTML&LT;选择&GT;控制机器人的WebView禁用(在模拟器) [英] HTML <select> control disabled in Android WebView (in emulator)
问题描述
我有一个非常简单的Android应用程序,这只是一个web视图。一切工作正常(复杂的JavaScript等)。但是,所有的HTML 选择
控件已被禁用。它们显示使用默认值,但没有任何反应,当我点击他们,他们没有得到橙色的亮点,当我通过控制箭头。
I have a very simple Android app that's just a WebView. Everything works fine (complex Javascript etc.). However, all of the HTML select
controls seem to be disabled. They display with default values, but nothing happens when I click on them, and they don't get the orange highlight when I arrow through the controls.
其他投入(文字,收音机,提交)做工精细,所以我不认为这是一个焦点问题。
Other inputs (text, radios, submit) work fine, so I don't think it's a focus issue.
配置:
- 在Eclipse IDE中
- 在SDK版本8(2.2)
- 测试中的模拟器
推荐答案
我有同样的问题。我的问题是固定的,通过改变溢出:隐藏
到溢出:可见
含元素
I had the same problem. My problem was fixed by changing overflow:hidden
to overflow:visible
on a containing element.
这篇关于HTML&LT;选择&GT;控制机器人的WebView禁用(在模拟器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!