spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: When trying to render the common sp-tooltip (in sp-overlay) for multiple button. If I try to move quickly between buttons, I notice that although tooltip content is changing but location of tooltip is not changing.
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-overlay, sp-tooltip
Expected behavior
tooltip should change its location
Actual behavior
tooltip updating its content but not changing its location
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Go to '...'
- Click on '....'
- Scroll to '....'
- Check console
- See error
Sample code that illustrates the problem
https://studio.webcomponents.dev/edit/JirOxY51y0SAKaQLtLSM/src/index.ts?p=stories
Logs taken while reproducing problem
No response
There's a decent amount of nastiness around making this something that is possible with the current API of this element. Could you share some of your goal in taking this path so that we could combine possible alternatives with explicit fixes in our research here?
I need to display tooltip for more than 50 cards, so to have single tooltip, I am using the same logic that I have used in the sample code. But cards being very close, I am facing this issue.