Skip to content

Open dropdown upwards #328

Answered by csandman
bruninoit asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, you can set the menuPlacement prop to "auto":

menuPlacement

Default placement of the menu in relation to the control. 'auto' will flip when there isn't enough space below the control.

One of<
	"bottom",
	"auto",
	"top"
>

https://react-select.com/props

The default value for it is "bottom".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bruninoit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants