Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Is it possible to position the dropdown in the bottom? #42

Open
guille-alibrate opened this issue Dec 13, 2019 · 1 comment
Open

Is it possible to position the dropdown in the bottom? #42

guille-alibrate opened this issue Dec 13, 2019 · 1 comment

Comments

@guille-alibrate
Copy link

Any chance to place the options in the bottom, just below the text, instead of in the upper section?

@anniewey
Copy link

anniewey commented Feb 7, 2020

@guille-alibrate You can apply absolute positioning to suggestionsPanelStyle according to your input height. But if you have dynamic height then you will need to set the top position dynamically. Below example is using fixed input height.

suggestionsPanelStyle={{
		backgroundColor: "rgba(100,100,100,0.1)",
		position: "absolute",
		top: 80,
}}
textInputMinHeight={80}
textInputMaxHeight={80}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants