You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I am building libraries, I have a case where a component can be nested, an example would be Tabs.
In that case, I need the ::view-transition-class and ::view-transition-new etc to be different between the nested so that transition is isolated for each. I believe using CSS var would be the cleanest way to do this but it doesn't except them.
Ex)
.tab {
// other styles
view-transition-class: var(--tab-unique-name);
}
::view-transition-new(var(--tab-unique-name)) {
// some animation
}
The text was updated successfully, but these errors were encountered:
As I am building libraries, I have a case where a component can be nested, an example would be Tabs.
In that case, I need the
::view-transition-class
and::view-transition-new
etc to be different between the nested so that transition is isolated for each. I believe using CSS var would be the cleanest way to do this but it doesn't except them.Ex)
The text was updated successfully, but these errors were encountered: