Skip to content

[Collapse] Support flexbox #47700

@ShaMan123

Description

@ShaMan123

Summary

I expect Collapse to be able to handle flexbox layout transition.

Examples

https://stackblitz.com/edit/github-nb4cly3i?file=src%2FApp.tsx

In the example there are 3 columns, the left one is collapsed.
Hit the Collapse/FlexCollapse button to toggle which component is used.
Hit the Open/Close button to see the transition in action.
Change the flex input.

Motivation

Using Collapse in a flexbox is not supported/behave unexpectedly

Search keywords: collapse, flex, flexbox

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions