Skip to content

Angular Material focus styles not applying in Shadow DOM #19133

Closed
@richiyang

Description

@richiyang

🐞 bug report

Affected Package

This issue is caused by /pull/18667

Is this a regression?

Yes.

Description

Keyboard focus and click focus styles no longer apply to Angular Material components when using Shadow DOM. Possibly due to the change in focus using walk down the DOM.

🔬 Minimal Reproduction

https://stackblitz.com/edit/no-focus-style-for-interactive-element-shadowdom

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions