简体   繁体   English

Chrome浏览器(Android版)与带有HTML选择标记的桌面版的工作方式不同

[英]Chrome for Android works differently from Desktop version with HTML select tag

I'm using Select tag. 我正在使用Select标签。 when approaching by PC, I see all the options to choose from. 当通过PC接近时,我看到所有选项可供选择。 When approaching by Android, I have to touch the select tag and then a window is popped up with the options. 当使用Android时,我必须触摸select标签,然后弹出带有选项的窗口。
Is there a way to just get a drop-down (as it works on Windows)? 有没有一种方法可以下拉菜单(因为它适用于Windows)?

I have to see four/five options of the select tag without to open the popup clicking on. 我必须查看select标记的四个/五个选项,而无需打开单击的弹出窗口。

This is the standard way Android handles select elements in WebViews. 这是Android处理WebViews中select元素的标准方式。 If you want different behavior, you'll have to use a select box library such Select2 . 如果您想要其他行为,则必须使用Select2这样的选择框库。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CSS div覆盖代码在台式机上的Chrome中可以正常运行,但在Android上的Chrome中无法正常运行 - CSS div overlay tag works fine in Chrome on desktop, but not in Chrome on Android 在 chrome for android 中第二次单击后选择 html 输入触发器,但在桌面网络浏览器中工作正常,该应用程序是用 react js 开发的 - Select html input triggers after second click in chrome for android but in desktop web browsers works ok, the app is developed in react js Android手机上的Chrome行为与台式机Chrome模拟器上的行为不同吗? - Does Chrome on an android phone behave differently than on the desktop Chrome emulator? HTML select标签:桌面与移动 - HTML select tag: desktop vs mobile LIBGDX HTML运行时错误,但可在Android和桌面上使用 - LIBGDX HTML runtime error but works on android and desktop 广播接收器在不同版本的Android上的工作方式不同(4.1.1和4.2.2) - Broadcast receiver works differently on different Version of Android (4.1.1 & 4.2.2) Twilio 视频在 Android 上的 Chrome 和 iOS 上的 Safari 中失败,可在桌面上使用 - Twilio video fails in Chrome on Android and Safari on iOS, works on desktop android从html表单值(选择标签)填充微调框 - android populate spinner from html form values (select tag) 虽然在桌面版本的Android中不显示BitmapFont特殊字符 - BitmapFont special characters not displayed in Android, in desktop version works though 使用ADB时,Android Studio“找不到文件”,桌面版本有效 - Android studio “File not found” when using ADB, Desktop version works
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM