Closed Estevete closed 1 year ago
can you see if react native menu has support for a solution? that’s what we use under the hood for android
also, wait, is your trigger using margin or padding on the right side? i think it’s a problem with your code. the second screenshot aligns itself to the right of the search input, whereas your button might touch the right end of the screen.
I already have a margin. Eventhough I increse it to have like 100 marginRight, it's still sticked on the right side on Android.
Android:
iOS:
It only leaves the margin when the trigger is almost centered:
When aligning the trigger to the right, the content gets opened without leaving a margin right on Android.
Code:
Current behavior On the image, the content has no "native" margin right. On iOS, it does.
Expected behavior Other native apps (like contacts) do have margin right when trigger is right aligned
** If it is left aligned, it has left margin.