commercetools / commercetools/ui-kit

Tooltip flicker onLeave

Open
#2,894 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
154
Forks
28
Avg merge
8h 53m
Merged PRs (30d)
2

Description

**Describe the bug**
When using Tooltip component there is a flicker behaviour when mouse leaves hovering a child.

**UI Kit Version Number**
19.9.0 & tested on latest 19.11.0

**Browser + OS**
Mac Sanoma Chrome v128, Firefox v130, Safari v17.4

**Priority**
Low

**To Reproduce**
Steps to reproduce the behavior:

1. Hover over button
2. Mouse away from button
3. Observer tooltip flickers (opens & closes multiple times)

[Repro sandbox](https://codesandbox.io/p/sandbox/commercetools-ui-kit-tooltip-flicker-06-09-2024-5qzgd9?file=%2Fsrc%2FApp.js%3A13%2C1)

**Expected behavior**
onLeave has no flicker behaviour

**Screenshots**

Example of usage: https://docs.commercetools.com/api/gdpr
Screenshot 2024-09-06 at 2 21 13 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.