react-popper-tooltip icon indicating copy to clipboard operation
react-popper-tooltip copied to clipboard

Focus + interactive

Open equinusocio opened this issue 3 years ago • 0 comments
trafficstars

Describe the bug If trigger: ['focus'] and interactive: true the tooltip should not close if clicked

To Reproduce Steps to reproduce the behavior:

  1. Set trigger: ['focus'] and interactive: true
  2. Click on the opened tooltip or on any interactive element inside it
  3. The tooltip is closed

Expected behavior Tooltip element should stay open if interactive is true and trigger events contains 'focus'

https://user-images.githubusercontent.com/10454741/147751722-2f9104a7-a6a5-4ac0-b705-977a702b51e4.mp4

equinusocio avatar Dec 30 '21 12:12 equinusocio