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

fix(Accordion): correctly set height when open prop is set #15344

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

tw15egan
Copy link
Member

@tw15egan tw15egan commented Dec 7, 2023

Closes #15340

Properly sets a max-block-size at initialization so that when an open prop is provided, the correct height is calculated

Changelog

New

  • Added a max-block-size to the initial open state selector

Testing / Reviewing

Set one of the Accordion items to open, refresh the page, and ensure the height is correct and not content overflows

Copy link

netlify bot commented Dec 7, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 9f268df
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6571d2e54611ec0008b0e6d9
😎 Deploy Preview https://deploy-preview-15344--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tay1orjones tay1orjones merged commit b68d712 into carbon-design-system:main Dec 11, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Accordion items with default open state have a wrong height
3 participants