Replies: 1 comment
-
Also mentioned here: #11555 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently there is basic support for view transitions, which can be enabled using
enableViewTransition
.Unfortunately quite basic requirements like handling "back" and "forward" directions cannot be achieved with this approach. This great article describes different scenarios and the approach to handle direction (and other context one may need) using view transition types.
I think the changes would be quite minimal. A new option viewTransitionTypes needs to be added and the call to document.startViewTransition needs to check for the presence of this option and adjust the structure of the arguments accordingly. Browser support seems to be very good aswell.
Beta Was this translation helpful? Give feedback.
All reactions