Accordion max height
aidana12 opened this issue · comments
aidana12 commented
Describe the bug
Accordion children now have a max-height of 500px
To Reproduce
Steps to reproduce the behavior:
- Run storybook
- Click on Accordion
- Put in enough children to exceed the 500px mark
- 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