Uh oh!
There was an error while loading. Please reload this page.
Add an unset option to the collapse active key - #180
Conversation
Having an unset option to provide easier customization to the collapse
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/react-component/collapse/6qe4in9iw |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## master #180 +/- ##
==========================================
- Coverage 99.04% 98.13% -0.92%
==========================================
Files 4 4 Lines 105 107 +2 Branches 33 34 +1 ==========================================
+ Hits 104 105 +1 - Misses 1 2 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Update the ternary operator to if statement.
itssulaimann
commented
Nov 30, 2020
Having an unset option to the activeKey prop in order to make the component easier to handle |
This pull request introduces 12 alerts when merging 06c92a3 into ea1ab91 - view on LGTM.com new alerts:
|
itssulaimann
left a comment
There was a problem hiding this comment.
Update the condition of the if statement in Collapse component
nrps9909
commented
Aug 28, 2026
I revalidated this request against current master A current-master regression matrix confirmed both boundaries: Porting this PR’s sentinel semantics to the current hook kept the undefined case passing but made the literal-key regression fail with zero active panels. That is an API collision because This exact head AI assistance disclosure: Codex was used to trace the current controlled-state contract, run the temporary regression matrix, and draft this note. I verified the cited heads and restored the worktree clean before posting. |
Having an unset option to provide easier customization to the collapse