pull_down_button icon indicating copy to clipboard operation
pull_down_button copied to clipboard

Can we set minimum menu height?

Open hbt1903 opened this issue 1 year ago • 1 comments

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

hbt1903 avatar Feb 08 '24 18:02 hbt1903

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 avatar Feb 08 '24 21:02 notDmDrl