Skip to content

Setting the contentHiddenWhenClosed attribute to true prevents the collapsible from opening at all. #194

@bl-nero

Description

@bl-nero

Describe the bug
Looks like setting this attribute has a side effect of keeping the height attribute of the content element permanently at 0.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/happy-jones-v3zks
  2. Click on "Expand me".
  3. See that the collapsible attempts to expand (it even performs an animation), but the content doesn't show up.

Expected behavior
The collapsible content should be visible.

Screenshots
Jun-04-2021 14-57-59

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions