Skip to content

[BUG] Tooltip shows briefly when using delayShow and moving to directly adjacent element #1162

Closed
@viveleroi

Description

@viveleroi

It seems that when using delayShow and moving from one tooltip element to another that's immediately next to it, the "new" tooltip for the element you just moved to flashes for a second, hides, and then shows again after the time delay. Removing your mouse entirely and trying again works fine.

So it seems to be related to moving from one tooltip element to another.

    <Tooltip
      className={styles.tooltip}
      delayShow={1000}
      id='default'
      noArrow
      place='top-start'
    />
    
<span
  data-tooltip-content='This is a tooltip'
  data-tooltip-id='default'
  data-tooltip-variant='info'>test</span>
<span
  data-tooltip-content='This is a tooltip'
  data-tooltip-id='default'
  data-tooltip-variant='info'>test</span>

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