spartan icon indicating copy to clipboard operation
spartan copied to clipboard

[BUG] Sheet enter-exit animation focus outline behaves strangely

Open silviu4444 opened this issue 10 months ago • 4 comments

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

silviu4444 avatar Jan 11 '25 11:01 silviu4444

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 avatar Feb 03 '25 19:02 goetzrobin

@goetzrobin I would have expected that the highlight moves smoothly with the animation and not delayed

silviu4444 avatar Feb 08 '25 12:02 silviu4444

Are you talking about the blue outline?

goetzrobin avatar Feb 18 '25 10:02 goetzrobin

@goetzrobin yes

silviu4444 avatar Feb 25 '25 15:02 silviu4444