I encountered an issue where I am unable to expand a simple select tag in Chrome.
<select id="filterCategory" class="">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
Steps to replicate the issue:
- Execute the code snippet above (in Chrome),
- Open Developer Tools (F12),
- Toggle mobile device mode (Default shortcut is Ctrl + Shift + M)
I am using Chrome Version 53.0.2785.116 (64-bit) on Ubuntu.
This problem only occurs in Chrome, it works fine on other browsers and mobile native browsers.
Question: Is there any temporary solution for this issue?
Edit:
The issue becomes more severe if I use position fixed as its container and the form-control
class from Bootstrap. The options are pushed out of the visible area in Chrome.