I know that there are many solutions for dropdown lists, but I'm trying to create something a little different than usual.
Menu before pressing a button:
<select> <option>Choose Something</option> </select>
Menu after user click:
<select> <option>Loading options</option> </select>
Menu after settings downloaded from the server:
<select> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select>
The problem is that after filling the menu, its size is small, and other elements are not displayed until the second click.
Is there any solution with this?
source share