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

Section component controlled state #6323

Closed
nerdstep opened this issue Aug 17, 2023 · 1 comment · Fixed by #6328
Closed

Section component controlled state #6323

nerdstep opened this issue Aug 17, 2023 · 1 comment · Fixed by #6328

Comments

@nerdstep
Copy link
Contributor

Environment

  • Package version(s): 5.0
  • Browser and OS versions: Windows 11

Feature request

The Section component should allow the ability to fully control the isOpen state.

Allow providing the isOpen value to the underlying Collapse component.
Additionally, an onToggle/onClick callback would need to be registered with the Section header.

@nerdstep
Copy link
Contributor Author

nerdstep commented Aug 17, 2023

@pgoldberg I can work this feature, since I'm the one asking for it. :)

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

Successfully merging a pull request may close this issue.

3 participants