CollapsibleItem expanded doesn't work.
See original GitHub issueCollapsibleItem doesn’t open initially even if expanded is set to true. I know the prop is being set properly because if I change it to “foo” then React complains that it’s not a boolean, true or false it is happy with. But the collapsible doesn’t initialize open as it should.
I can’t obviously see the problem but it must be around here https://github.com/react-materialize/react-materialize/blob/544429c5c3d1efa1317cd01fe08994d1951d4aa2/src/CollapsibleItem.js#L18
If I set className that goes through correctly, but the “active” class doesn’t get added.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Html collapsible not expanding on click - Stack Overflow
My code seems fine (or maybe it's not), when I try it on online platforms it seems to work but it doesn't work...
Read more >Expand/Collapse not working on published site | Velo by Wix
I have four menus that can be expanded/collapsed using buttons. They all use the following code structure: The code works as intended in...
Read more >Collapse or expand parts of a document - Microsoft Support
To collapse or expand all the headings in your document, right-click the heading and click Expand/Collapse > Expand All Headings or Collapse All...
Read more >Collapse - Bootstrap
The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific...
Read more >Nested collapsible fieldsets can't be expanded #3488 - GitHub
When nesting an object field with collapsible fieldsets inside an array field, the collapsed fieldsets can't be expanded (clicking doesn't do anything).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@sfcgeorge woohoo, please continue reporting bugs ❤️
Yay thank you, can confirm it works 😄