menu icon indicating copy to clipboard operation
menu copied to clipboard

How to change position of Menu on iOS?

Open Andrea-Arguello opened this issue 4 years ago • 2 comments

image The menu is showing up above the button, I would like for it to show up underneath it. On Android it is showing below, as expected.

Andrea-Arguello avatar Aug 18 '21 02:08 Andrea-Arguello

This seems to happen based on the component's position, as if it is closer to the top, it renders it below. It is also interesting to note that in the above image, it also reverts the order of the components. Is there a way to fix its position?

Andrea-Arguello avatar Aug 18 '21 02:08 Andrea-Arguello

Since the actions are in an array you can sort them. An easier way is to write the items as you would then reverse the array.

     actions={
          [...yourActions].reverse()
     }

kayode0x avatar Dec 09 '21 02:12 kayode0x