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

> It would be really buggy if the browser sometimes decides not to perform the animation I explicitly requested.

Ok, that I see now. It would indeed be very annoying if it sometimes works *and* differently across browsers. So let's not do any UA based margin heuristic.

Let's say we pick "only capture when onscreen" as the default. Would you say it would still feel buggy if you had to add the `view-transition-inclusion-area` property in addition to `view-transition-name` if your named element can be offscreen? Because then it's part of the API contract we're setting up with this property. Just the name is not enough to say, "I want this to always animate".

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


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

Received on Thursday, 11 April 2024 09:33:31 UTC