spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: Tooltips hosted in Dialogs interfere with focus
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
tooltip, dialog, overlay, overlay-trigger
Expected behavior
Tooltips open and close without changing focus, in all contexts.
Actual behavior
Tooltips initiated in dialogs change the focused element.
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
https://studio.webcomponents.dev/edit/HHcNNv46jQ0fluF3x2B9/src/index.ts?p=stories
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
@joekukish does this feel more like what you'd want to see here? https://returns-focus--spectrum-web-components.netlify.app/storybook/?path=/story/dialog-wrapped--tooltips