Skip to content

feat(moc-doc): serialize delegatesFocus shadow DOM property #6333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

mpesic
Copy link
Contributor

@mpesic mpesic commented Jul 7, 2025

What is the current behavior?

Components with focus delegation enabled via shadow: { delegatesFocus: true } are not serialized in DSD templates.

GitHub Issue Number: #6265

What is the new behavior?

Shadow roots with enabled focus delegation are now serialized with shadowrootdelegatesfocus attribute.

Documentation

See https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/template#shadowrootdelegatesfocus.

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@mpesic mpesic requested a review from a team as a code owner July 7, 2025 23:56
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@christian-bromann christian-bromann merged commit 56fe6e3 into stenciljs:main Jul 8, 2025
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants