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

[core] fix(Section): Fix defaultIsOpen behavior #6325

Closed
wants to merge 1 commit into from

Conversation

pgoldberg
Copy link
Contributor

@pgoldberg pgoldberg commented Aug 17, 2023

Fixes #6322

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

defaultIsOpen is currently doing the opposite behavior of what it suggests (if true the Collapse is default collapsed)

Screenshot

@pgoldberg pgoldberg requested a review from gluxon August 17, 2023 21:56
@pgoldberg pgoldberg marked this pull request as ready for review August 17, 2023 21:56
@adidahiya
Copy link
Contributor

[core] fix(Section): Fix `defaultIsOpen` behavior

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@nerdstep
Copy link
Contributor

nerdstep commented Aug 17, 2023

@pgoldberg looks like I submitted a PR for this fix soon after you did!

#6326

FYI, I added a few tests since I didn't see any for the Section component yet, and also updated the docs with a toggle for defaultIsOpen.

@pgoldberg
Copy link
Contributor Author

@nerdstep Thank you! I'll close this one out in favor of yours. I'll try to take a look at it tonight or tomorrow 🙂

@pgoldberg pgoldberg closed this Aug 17, 2023
@adidahiya adidahiya deleted the pgoldberg/fixSectionCollapse branch August 25, 2023 12:47
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

Successfully merging this pull request may close these issues.

Section defaultIsOpen does the opposite of the provided boolean
3 participants