- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Aug 2024 11:42:20 +0000
- To: public-css-archive@w3.org
What you are essentially requesting here is a way to pass element state across navigations from one document to another. This feature is not related to View Transitions as it applies to _any_ MPA – regardless of which framework you are using or whether you are using View Transitions or not. 👉 This is an HTML feature request, and is being discussed in https://github.com/whatwg/html/issues/8538 For completeness: - The reason why elements can be persisted in SPAs across different views is because in an SPA architecture the document never unloads. The persisted elements can be any type of element – audio, video, div, h1, etc – and is not tied to the use of a framework nor View Transitions. - If you are fine with a small glitch, you can manually pass state from one page to another using `pageconceal` and `pagereveal`. See https://view-transitions.netlify.app/video/mpa/ for a demo. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10620#issuecomment-2288521721 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 August 2024 11:42:21 UTC