W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

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

From: Eoghan Murray via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 May 2021 11:23:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-842244238-1621250600-sysbot+gh@w3.org>
@birtles 
> you'll be better off re-thinking the animation in terms of transform / opacity animations. It's a lot more work but the result will be better.
No, this completely misses the point.  The reason people want to transition the height is that they want to reclaim the layout space for other elements when the item is 'contracted'.  This is why the `max-height` hack is in place all over the web.  And transitions are really important when doing this sort of thing so that the website visitor can see the layout change taking place as otherwise they are in danger of 'losing their place' when a jarring immediate jump takes place.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 17 May 2021 11:23:23 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC