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

I want to change the position of Pull Down Button to under or above depending on the situation. #5

Closed
etgkqo opened this issue Aug 16, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@etgkqo
Copy link

etgkqo commented Aug 16, 2022

I want to change the position of Pull Down Button to under or above depending on the situation as shown in the video below.
Please help me!

pull-down-button-issue-demo.mp4
@notDmDrl
Copy link
Owner

@etgkqo

There is no simple way to do that currently and unfortunately i don't have any free time to look into it myself (and will not have any till mid September)

In the meantime maybe you can try getting item position using this stackoverflow answer, and then, based on it and a screen height, change PullDownButton's position to PullDownMenuPosition.above or PullDownMenuPosition.below.

@notDmDrl notDmDrl added the enhancement New feature or request label Aug 16, 2022
@etgkqo
Copy link
Author

etgkqo commented Aug 17, 2022

@notDmDrl Thanks! I'll try the way you told me!

@notDmDrl
Copy link
Owner

Hey @etgkqo

I finally got some time to do this, the update is live.

There is now a new PullDownMenuPosition.automatic which should be exactly what you need.

@notDmDrl notDmDrl closed this as completed Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants