tippyjs-react icon indicating copy to clipboard operation
tippyjs-react copied to clipboard

Ability to pass untrigger events

Open niallpaterson opened this issue 3 years ago • 0 comments

Hey @atomiks, nice package!

Im working with an app where the tooltip displays over a carousel. On mobile if the user swipes the carousel (as opposed to pressing somewhere) with the tooptip visible, it remains visible. It only closes when the user taps the screen.

I've fixed this manually by taking control of the visibiity and setting it to false on a touchstart. I was wondering if its possible to pass 'untrigger' events like you can with 'trigger' events in tippy. If not, reckon it would be tough to implement for a PR?

niallpaterson avatar Jul 16 '21 16:07 niallpaterson