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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we set minimum menu height? #44

Closed
hbt1903 opened this issue Feb 8, 2024 · 1 comment
Closed

Can we set minimum menu height? #44

hbt1903 opened this issue Feb 8, 2024 · 1 comment

Comments

@hbt1903
Copy link

hbt1903 commented Feb 8, 2024

It would be great to set the minimum menu height 馃檹馃徏
Cuz when it can open the menu on top of the widget, it opens at to the top, even if there is only 1 visible item from the menu. And the rest of the menu should be scrolled but it does not give a nice user experience to scroll in such a small area. So, if we could specify the minimum height for the menu, the problem would be solved.

Here is an example
Simulator Screenshot - iPhone 15 Pro Max - 2024-02-08 at 21 01 39
Simulator Screenshot - iPhone 15 Pro Max - 2024-02-08 at 21 01 44

@notDmDrl
Copy link
Owner

notDmDrl commented Feb 8, 2024

Hi @hbt1903

The problem is, that the menu already tries to fill as much space as possible. However, if you are using the default menu positioning - it might result in issues like yours.

Could you try setting PullDownButton.position to PullDownMenuPosition.over? Alternatively, you can try to use showPullDownMenu and see if it is better in your particular use case.

If none of that helps, please provide a reproducible example so I can closely look into it.

Thanks

@notDmDrl notDmDrl closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
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