Skip to content

[BUG] Unexpected behavior with delayShow #1119

@gabrieljablonski

Description

@gabrieljablonski

Bug description
delayShow={1000} results in unexpected behavior when hovering between anchor elements.

Version of Package
v5.22.0

To Reproduce
Hover between two anchor elements that share a tooltip with a value set for delayShow. The tooltip will change to the second anchor element before closing.

Expected behavior
Two options:

  1. The tooltip should stay open when hovering between two elements that are close enough
  2. The tooltip should abruptly close, and open again for the new anchor only after the set delay

I lean towards 1.

Additional context
CodeSandbox sample: https://codesandbox.io/s/frosty-noether-y4m79q?file=/src/App.js

#1114 related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions