storybook-design-token icon indicating copy to clipboard operation
storybook-design-token copied to clipboard

Tooltip does not disappear when clicking outside or scrolling

Open alisakova opened this issue 5 months ago • 0 comments

The tooltip associated with the "Copy to clipboard" button always remains visible after clicking the button. The tooltip only hides when the button is clicked again.

The tooltip should disappear when:

  • Clicking outside of the "Copy to clipboard" button.
  • Scrolling the page.

Additionally, if multiple "Copy to clipboard" buttons are clicked, all tooltips remain visible simultaneously.

Screenshot 2024-09-26 at 15 46 56

alisakova avatar Sep 26 '24 12:09 alisakova