Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip flicker when hovering button or chip #3694

Open
elisabethf opened this issue Nov 21, 2024 · 1 comment · May be fixed by #3695
Open

Tooltip flicker when hovering button or chip #3694

elisabethf opened this issue Nov 21, 2024 · 1 comment · May be fixed by #3695
Labels
🐛 bug Something isn't working

Comments

@elisabethf
Copy link

elisabethf commented Nov 21, 2024

Describe the bug

After upgrading from eds-core-react 0.40.1 to 0.42.4, we noticed that our tooltips have started flickering.
This happens when I hover the button, but the flickering stops when I hover the Icon on the button.
Also, tooltips on chips flicker all the time when the chip is hovered.

Steps to reproduce the bug

  1. Add a button with an icon or a chip and wrap the button/chip in a tooltip
<Tooltip title={'test'} placement="bottom">
  <Button variant={'ghost'}>
    This is a test <Icon data={comment} />
  </Button>
</Tooltip>
  1. Hover the button text then hover the icon
  2. The tooltip flickers every time you move your mouse or when hovering over a chip

Expected behavior

Expect the tooltip to stay still

Specifications

  • Version: 0.42.4 / 0.42.5 (tried both)
  • Browser: chrome
  • OS: Windows

Additional context

Add any other context or screenshots about the bug. An example in CodeSandbox is very helpful

@elisabethf elisabethf added the 🐛 bug Something isn't working label Nov 21, 2024
@oddvernes oddvernes linked a pull request Nov 21, 2024 that will close this issue
@oddvernes
Copy link
Collaborator

Link to slack discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants