Re: [csswg-drafts] [css-animations-2, css-transitions-2] Entry and exit animations for top-layer elements (#8189)

> If your element has `display: block` even before the transition, you're going to see a visible shift either way because of all the different adjustments top layer makes: position, containing-block, stacking context, etc. Adding a new property can control the timing of that shift, but cannot remove it. So I don't think this is an use case we should worry too much about.

In some cases, maybe, but I think preventing the z-index shift during animation will still be useful to developers in these cases. And there's still the problem I mentioned earlier of not being able to easily distinguish between an animation to `display:none` vs animation to something else.

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


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

Received on Monday, 13 March 2023 14:59:47 UTC