prscX / react-native-tooltips

React Native: Native Tooltip View
Apache License 2.0
271 stars 41 forks source link

Any way to create tooltips without arrows? #3

Closed halileohalilei closed 6 years ago

halileohalilei commented 6 years ago

I need to have a couple of tooltips in my project, and one of them is a tooltip without any arrows. I can manage it by creating a custom View of my own, but I want to use the same library for my tooltips. Is there any way I can achieve this?

Also, when I was writing pure native iOS, I used to use https://github.com/teodorpatras/EasyTipView which was super easy to use and easily customizable. Any chance react-native-tooltips can switch to that on the iOS side?

Either way, thanks for the package!

prscX commented 6 years ago

Thanks @halileohalilei for raising the query.

Thanks Pranav

prscX commented 6 years ago

Hi @halileohalilei,

Updates: Android: ViewTooltip has add API to set arrow height and width. Coming weekend I will integrate the same in our library and will push the release version.

Thanks Pranav

prscX commented 6 years ago

Hi @halileohalilei, I have enabled arrow customisation on Android as well. Please find below screenshot of the same:

screen shot 2018-03-08 at 6 01 26 am

However I am not able to set padding between button and tooltip, I have requested help from ViewTooltip Team, post these fix's I will release the latest version.

Thanks Pranav

prscX commented 6 years ago

Hi @halileohalilei,

I have release latest V0.0.4 with prop enabling/disabling arrow. Can you please download the latest version and verify the same.

Let me know in case you face any issues.

Thanks Pranav

halileohalilei commented 6 years ago

@prscX you are the best! I decided to go with a simpler approach for now without any tooltips, but I will be integrating them to my app in a few weeks. I will let you know if I stumble upon any problems. Cheers!

prscX commented 6 years ago

Sure @halileohalilei. Please feel free to raise issue/gaps if you find any.

Thanks Pranav