-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
HTML using Declarative Shadow DOM breaks when using <ClientRouter> #14340
Copy link
Copy link
Closed
Labels
- P2: has workaroundAn edge case that only affects very specific usage, but has a trivial workaround (priority)An edge case that only affects very specific usage, but has a trivial workaround (priority)feat: view transitionsRelated to the View Transitions feature (scope)Related to the View Transitions feature (scope)
Description
Astro Info
Astro v5.13.7
Node v20.19.1
System Linux (x64)
Package Manager npm
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
Tested in Firefox, Safari, and Edge. Seems to be a cross-browser issue.
Describe the Bug
When navigating using the <ClientRouter>, elements using Declarative Shadow DOM via the shadowrootmode attribute on <template> elements, are not rendered.
What's the expected result?
These elements should render the same as they do on an initial page load.
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P2: has workaroundAn edge case that only affects very specific usage, but has a trivial workaround (priority)An edge case that only affects very specific usage, but has a trivial workaround (priority)feat: view transitionsRelated to the View Transitions feature (scope)Related to the View Transitions feature (scope)