HTML selection, downward force

Is there a way to force the dropdown direction of a select element in HTML to be downward?

At the moment we have a product display page, a selection box appears under the half screen mark in widescreen and therefore enlarges the dropdown menu.

Is it possible? Thanks.

+2


a source to share


2 answers


No, this cannot be done with a standard element select

.

You will have to use a JavaScript based alternative.



A quick search did not find any jQuery / JS alternatives that explicitly offer direction customization as an option, but I'm sure there is one that does this.

+4


a source


Don't feel like it does it before the browser / OS.



+1


a source







All Articles