-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Labels
css-view-transitions-2View Transitions; New feature requestsView Transitions; New feature requests
Description
Transitions tend to happen in the opposite direction on 'back' navigations.
With SPA, we recommend looking at state in the navigation API, and setting a class name on the root.
For MPA, it feels like we should have something higher-level:
@media (vt-nav-type: back) {
/* … */
}We should also look at ways to add that behaviour for SPAs:
document.startViewTransition({
isBackNavigation: true,
update: callback,
});Or we could look at a tighter integration with the navigation API.
boehsQue-tin and natemoo-re
Metadata
Metadata
Assignees
Labels
css-view-transitions-2View Transitions; New feature requestsView Transitions; New feature requests