Update transition:persist known limitations for canvas preservation #13346
Unanswered
SvetimFM
asked this question in
Contributing
Replies: 1 comment
-
|
Besides fixing WebGL context loss, @SvetimFM's PR also switched handling of persisted elements to the modern I would therefore suggest softening this to: Most modern browsers preserve internal DOM state across view transitions, but in Safari and older versions of other browsers, issues such as CSS animations restarting or iframes reloading may still occur when using All suggestions for improvement are, as always, very welcome! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Companion to withastro/astro#15728 (merged).
The
transition:persistknown limitations note currently says:With the merged fix, canvas elements (including WebGL/WebGL2 context and drawn content) are now preserved during persist swaps. The note should be updated to clarify this — something like appending:
PR was at #13339 but docs are in v5 freeze. Happy to re-submit after v6 launches.
Beta Was this translation helpful? Give feedback.
All reactions