spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: An open sp-overlay immediately closes when hovering on a delayed sp-tooltip
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?
- Go to https://studio.webcomponents.dev/edit/bGoaDoeSp3RgODOi6N7u/src/index.ts
- Click on the
Click mebutton - Hover over the
Hover mebutton - 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