spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: An open sp-overlay immediately closes when hovering on a delayed sp-tooltip

Open imlutr opened this issue 1 year ago • 0 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

sp-overlay, sp-tooltip

Expected behavior

If you have an sp-overlay that's open and you hover slightly on a sp-button that has a delayed sp-tooltip, then the open sp-overlay shouldn't close. It should close only when the tooltip is actually shown.

Actual behavior

The open sp-overlay closes immediately

Screenshots

https://github.com/user-attachments/assets/9802e1f6-e778-46ef-80df-d7e0af92a13c

What browsers are you seeing the problem in?

Chrome

How can we reproduce this issue?

  1. Go to https://studio.webcomponents.dev/edit/bGoaDoeSp3RgODOi6N7u/src/index.ts
  2. Click on the Click me button
  3. Hover over the Hover me button
  4. Observe. The open overlay will close immediately, even though the tooltip appears 2s later.

Sample code or abstract reproduction which illustrates the problem

https://studio.webcomponents.dev/edit/bGoaDoeSp3RgODOi6N7u/src/index.ts

Severity

SEV 3

Logs taken while reproducing problem

No response

imlutr avatar Oct 17 '24 09:10 imlutr