Skip to content

Accordion max height #19

@aidana12

Description

@aidana12

Describe the bug
Accordion children now have a max-height of 500px

To Reproduce
Steps to reproduce the behavior:

  1. Run storybook
  2. Click on Accordion
  3. Put in enough children to exceed the 500px mark
  4. See the children cut off

Expected behavior
Max height should be determined by the height of the open (uncollapsed) children

Desktop

  • OS: [e.g. iOS]
  • Browser: chrome
  • Version: 89.0.4389.82

Additional context
Try using https://streamich.github.io/react-use/?path=/story/sensors-usemeasure--docs and framer-motion to not limit the text by 500px

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions