简体   繁体   中英

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

I'm using Select tag. when approaching by PC, I see all the options to choose from. When approaching by Android, I have to touch the select tag and then a window is popped up with the options.
Is there a way to just get a drop-down (as it works on Windows)?

I have to see four/five options of the select tag without to open the popup clicking on.

This is the standard way Android handles select elements in WebViews. If you want different behavior, you'll have to use a select box library such Select2 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM