Re: [csswg-drafts] [css-view-transitions-1] Should view transition names be tree scoped? (#10145)

> If I may mention my own use case here: my team is working on an app built entirely with web components, so we have nested components with shadow roots. Chrome 126 broke our View Transitions.
> 
> 
> 
> Enabling `view-transition-name` on `::part` would be a useful solution if we also had scoped View Transitions. Starting a View Transition on a deeply nested custom element, then giving names to its sub-components with `::part` sounds doable. But without scoped View Transitions, we'd have to use the `exportparts` attribute all the way up to the document element, since that's the only element we can start a View Transition on right now, right?
> 
> 
> 
> That sounds very impractical. A solution like a CSS attribute, as mentioned [here](https://github.com/w3c/csswg-drafts/issues/10145#issuecomment-2175638968), looks like it would help us a lot more in that case.

Thanks for sharing! Do your transitions cross shadow boundaries or it's more like wanting transitions within the same shadow root to work?

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10145#issuecomment-2201059671 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 July 2024 21:01:30 UTC