tippyjs icon indicating copy to clipboard operation
tippyjs copied to clipboard

Make it possible to event.stopPropagation() in onClickOutside

Open EugenDueck opened this issue 11 months ago • 1 comments

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:

  1. Click "Show Tippy"
  2. 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.

EugenDueck avatar Mar 10 '24 07:03 EugenDueck

The same issue here :)

zhandosainabek avatar Mar 31 '24 13:03 zhandosainabek