[csswg-drafts] [css-view-transitions] Native view transitions to customize the appearance of entering/exiting fullscreen? (#10609)

romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions] Native view transitions to customize the appearance of entering/exiting fullscreen? ==
With the full screen API we can take any DOM element and request it to be displayed full screen.
This works great but the transition often looks very bad.

example : https://www.maison-osain.com/projects/house-linaza/ (look for `VIEW FULLSCREEN`)

Firefox:

https://github.com/user-attachments/assets/73a24ae2-b5d2-4e92-8c45-f48125a6ddfa

Safari:

https://github.com/user-attachments/assets/4990f548-600d-466e-a07a-b0f2b0f51c48

Chrome does better as it doesn't try to animate these. It just does a hard cut to full screen mode.

------

Is this something that (in theory) could be improved and customized with view transitions?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10609 using your GitHub account


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

Received on Monday, 22 July 2024 14:35:24 UTC