prscX / react-native-popover-menu

React Native: Native Popover Menu
Apache License 2.0
482 stars 54 forks source link

iOS controlling pointiness of arrow #3

Open Noitidart opened 6 years ago

Noitidart commented 6 years ago

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/

prscX commented 6 years ago

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

Noitidart commented 6 years ago

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

prscX commented 6 years ago

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

Noitidart commented 6 years ago

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

screenshot-2018-2-13 textnow

prscX commented 6 years ago

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

Noitidart commented 6 years ago

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