spartan
spartan copied to clipboard
[BUG] Sheet enter-exit animation focus outline behaves strangely
Please provide the environment you discovered this bug in.
Angular v19 Node v22.11.00 @spartan-ng/cli 0.0.1-alpha.387 Chrome/Safari - IOS 18.2.1
Which area/package is the issue in?
Sheet
Description
In the attached video you can see that the outline border it’a left behind the animation. Note: in the demo it’s not reproducing because the focused it’s trapped on the input field. https://github.com/user-attachments/assets/375e5190-ca5a-4230-9309-0d49b962e9fa
Please provide the exception or error you saw
No response
Other information
No response
I would be willing to submit a PR to fix this issue
- [ ] Yes
- [ ] No
What is the expected behavior for this? The focus is set by the CDK for accessibility. Are you asking for a way to disable the highlighting when no anchor is present?
@goetzrobin I would have expected that the highlight moves smoothly with the animation and not delayed
Are you talking about the blue outline?
@goetzrobin yes