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. 💃🏻
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.
placement !== 'top'
Please let me know if you'd like any changes or think something shouldn't be part of this library. 💃🏻