Skip to content

[BUG] When using the same single tooltip on a page, the delayShow/data-tooltip-delay-show is not respected  #1235

@Ville-Wennerlund

Description

@Ville-Wennerlund

Bug description
When using the same single tooltip on a page, the delayShow/data-tooltip-delay-show is not respected if you hover over them immediately after each other.

Version of Package
v5.28.0

To Reproduce
Steps to reproduce the behavior.

steps to reproduce in the attached stackblitz:

  1. hover over "A tooltip" for 1 second
  2. the tooltip is shown
  3. immediately hover over "Another tooltip"

actual result: the "Another tooltip" is shown immediately
expected result: the tooltip should take 1 second before it is shown

Screenshots

react-tooltip.mp4

Desktop (please complete the following information if possible or delete this section):

  • OS: Windows 11
  • Browser: Microsoft Edge
  • Version: 131.0.2903.51
  • Frameworks: React 18.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugStaleThis has not seen activity in quite some time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions