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

> That said, we still need to decide what should be the reasonable default behaviour. I was assuming that an animation where both the start and end states (or just the one state for entry/exit transitions) of the DOM element are offscreen should be skipped, because the user will never see that animation.

That isn't true in cases where the element will pass through the viewport.

But even in cases where the element won't not pass through the viewport, that might change in the next frame, or before the animation is complete.

I think the current behaviour is the right default. Same as CSS animations - we don't cancel out-of-viewport animations.

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


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

Received on Wednesday, 10 April 2024 17:30:37 UTC