Skip to content

Collapsible duration ratio based on content size #3682

@alex-page

Description

@alex-page

Feature request summary

As mentioned here, we should have motion that is consistent with the height of the element. Bigger elements should not feel the same speed as smaller ones.

#3606 (comment)

How is duration determined? If the value is fixed, a 500px collapse will be perceived as 10x the speed of a 50px collapse.

Dynamic containers benefit from dynamically determined durations. @AndrewMusgrave and I collaborated once to create a dynamic interpolation with normalized speed and clamped min/max values. Could that perhaps be applied?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions