react-native-popover-menu icon indicating copy to clipboard operation
react-native-popover-menu copied to clipboard

iOS controlling pointiness of arrow

Open Noitidart opened this issue 6 years ago • 6 comments

Is it possible to control the round-ness/pointy-ness of the arrow on iOS? And non-blur but opaqueness Like iOS 7 design has:

http://iosguides.net/icloud-website-updated-ios-7-design-style/

Noitidart avatar Feb 11 '18 20:02 Noitidart

Thanks @Noitidart for raising the query.

I have looked into liufengting/FTPopMenu API's, but unfortunately it does not provide any API to customise arrow.

Their is one more library from same author liufengting/FTPopOverMenu, where I guess we can customize the arrow. However before exploring that I will check if in same library we can raise a PR.

We can provide tintColor in order to make this non-blur, but opaqueness I doubt. Since liufengting/FTPopMenu is based on UIPopoverViewController it would be possible, coming weekend I will look into the same.

Thanks Pranav

prscX avatar Feb 12 '18 15:02 prscX

Thank you! No problemo though. This was just me thinking ahead to what people would need.

Noitidart avatar Feb 12 '18 15:02 Noitidart

In current implementation we can just render menu options in a list. May be we can have a separate library with native iOS 7 popover where inside we should be able to render any react view, may be that will fulfil the need.

Thanks Pranav

prscX avatar Feb 12 '18 15:02 prscX

Oh interesting, even in latest iOS maps they use an opaque popover:

screenshot-2018-2-13 textnow

Noitidart avatar Feb 13 '18 21:02 Noitidart

Thanks @Noitidart for sharing the design.

It look really nice and appealing 👍. Currently I am stuck with couple of other items, but definitely it is in my next todo list 😄

Thanks Pranav

prscX avatar Feb 16 '18 11:02 prscX

Sincerest thanks for your and all contributors incredible work. It is so so helpful for those who struggle with creating native modules (like me)!

Noitidart avatar Feb 16 '18 14:02 Noitidart