[css-transitions] Transition to height (or width) "auto" · Issue #626 · w3c/csswg-drafts · GitHub
Skip to content

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

Closed
@keithjgrant

Description

(Edited: current resolved-on proposal is at #626 (comment))

https://drafts.csswg.org/css-transitions/#animtype-rect

It would be incredibly useful to be able to transition to (or from) height: auto. As it stands now, you need to jump through a bunch of hoops in JavaScript to simulate it. This is used frequently for transitioning in alert boxes, opening accordions, etc, but it seems silly that JavaScript is required.

I’m sure there must be discussion about this in the old mailing list, but I’d love to be privy to it here.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Monday morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions