Re: [csswg-drafts] [css-view-transitions-2] Ignore offscreen elements from participating in transitions (#8282)

Hey @noamr mainly design but performance is an issue as well, since if you're applying transform transitions to a whole page, and if the page is really long that can have cause huge issues on performance, and unexpected rendering consequences.
In terms of design:
1. Just as you've flagged, without having to do hacky functions to add view transition names based on intersection observer (which I think just takes away to beauty of how wonderfully simple the view transition API has the potential to be), things fly in and out unintentionally.
2. Lets say you wish to slide in the old view followed by the new view, a bit like a slideshow, you can't (unless I am missing something), because the whole page content is included, not just the clipped viewport content. See mock up below:
![Screenshot 2024-02-19 at 16 33 33](https://github.com/w3c/csswg-drafts/assets/36191462/edb1a216-d439-46af-859c-3215f6f3c02b)


-- 
GitHub Notification of comment by toddpadwick
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8282#issuecomment-1952849878 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 19 February 2024 16:38:40 UTC