Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants