mijin icon indicating copy to clipboard operation
mijin copied to clipboard

Add props to prevent popover put on the bottom on mobile

Open Zzombiee2361 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Sometimes I need to put a popover button way high up on the page or on the fixed menu and it's not intuitive that the menu appear on the bottom. This could harm UX especially on a bigger screen and/or small number of popover item

Describe the solution you'd like Add a props to prevent the popover to be put on the bottom of the page

Zzombiee2361 avatar Jan 11 '22 05:01 Zzombiee2361

Hi @Zzombiee2361 , thanks for your suggestion.

Since most of the mobile actions are performed on the bottom of the screen, the popover will pop on the bottom. As a good default practice when using this component.

I agree it would be better to add an option to override this default behavior and give the choice 👍

lecoueyl avatar Jan 12 '22 00:01 lecoueyl