tippyjs
tippyjs copied to clipboard
Make it possible to event.stopPropagation() in onClickOutside
Problem
When I click outside of the tippy content, onClickOutside gets called, but also other click handlers, unrelated to the Tippy component, get executed.
Codesandbox to reproduce the issue:
- Click "Show Tippy"
- Click "Click to increase count" -> this increases the counter despite e.stopPropagation()
Solution
This could e.g. be made possible by laying a (transparent) div over all content.
The same issue here :)