react-native-walkthrough-tooltip icon indicating copy to clipboard operation
react-native-walkthrough-tooltip copied to clipboard

Mutliple tooltip enhancements

Open apfritts opened this issue 2 years ago • 0 comments

Hi @jasongaare!

Thank you for this wonderful little tooltip library! We're going to use it in our app and needed a few tweaks to make it work the way we needed. I tried to keep the behavior of the tooltip the same and added some additional properties to control the new functionality.

  • Switch to fire onClose when the background is tapped
  • Switch to allow background interactions
  • Switch to prevent users from closing the tooltip but not actually interacting with the child content
  • Reduce the number of times we measure the UI elements when placement !== 'top'

Please let me know if you'd like any changes or think something shouldn't be part of this library. 💃🏻

apfritts avatar Apr 21 '22 20:04 apfritts