Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion max height #19

Open
aidana12 opened this issue Mar 17, 2021 · 0 comments
Open

Accordion max height #19

aidana12 opened this issue Mar 17, 2021 · 0 comments

Comments

@aidana12
Copy link
Member

aidana12 commented Mar 17, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant