Re: [csswg-drafts] [css-transitions] Transition to height (or width) "auto" (#626)

We all agree that the use of 'auto' in animations should just be a single static value calculated for the property before the animation begins. And in most cases (the ones that matter), this would be the perfect solution.

And for good measure, you could have the value of 'auto' recalculate once when the animation is finished just in case something changed about the environment. Sure, that might look janky in some rare cases, but it's certainly better than not being able to transition to 'auto' at all.

Heck, we don't need 'calc(auto)' yet (and maybe not ever). We just need transitions to and from 'auto'.

Regardless of how it's solved, this is a problem that has going on for far too long and needs to be addressed as soon as possible, and it needs to start with the spec. 

As it's been stated before, this is one the most requested features in CSS, has been for over 5 years now, and it's still perhaps the only requested feature that doesn't have any good alternative solutions.

We gotta put it in the spec.

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


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

Received on Sunday, 16 May 2021 16:10:00 UTC