Skip to content

Commit fe67838

Browse files
committed
not yet ready for publishing
1 parent d565828 commit fe67838

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/content/docs/tips/concurrent.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ head:
77
property: "og:image"
88
content: "/concurrent-og.png"
99
---
10-
10+
{/*
1111
When a view transition starts while another view transition is still active, the former gets canceled.
1212
1313
What does that mean and how can we improve this situation?
@@ -22,3 +22,4 @@ When a call is made to `startViewTransition` while the active view transition's
2222
former update callbacks.
2323
2424
On the other hand, if the active view transition was `ready` and animations have been started, the active `::view-transition` pseudo-element tree is removed. This will stop all animations associated with the pseudo-elements and finally stop the active view transition. This looks like all animations abruptly skip to their end before the new view transition starts from there.
25+
*/}

src/content/docs/tips/scoped.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Isolated View Transitions
33
description: "Keeping multiple view transitions separate and independent."
44
---
5+
{/*
56
When you use view transitions today, they always operate on the whole document. In the future, [_Scoped_ view transitions](/basics/javascript/#scoped-view-transitions) will allow you to confine them to a subtree of the DOM. While this is a planned extensions for the View Transition API, we are not there yet. Currently they are available in Chrome behind a flag.
67
78
Scoped View Transitions will bring a lot of benefits:
@@ -63,3 +64,4 @@ The most reliable solution would be if each use case would only temporarily add
6364
this would only add the lightbox view transition name to the element with class
6465
6566
67+
*/}

0 commit comments

Comments
 (0)