adobe / adobe/spectrum-web-components

[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.

Open
#4,044 2 comments 0 reactions 0 assignees View on GitHub
bug Component:Overlay Component:Tooltip SEV missing
Dominant language
TypeScript
Stars
1.5k
Forks
262
Avg merge
3d 10h
Merged PRs (30d)
68

Description

### 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?

1. Go to '...'
2. Click on '....'
3. Scroll to '....'
4. Check console
5. 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_

Contributor guide

Open the contributing guide

Research direction

Open the linked Web Components Studio reproduction and inspect the sp-overlay and sp-tooltip components involved in moving between buttons. Reproduce the rapid pointer movement and trace the update behavior. Done means the tooltip content and location both update for each button.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.