Repository navigation
Docs: Remove outdated card dependency reference from accordion/collapse parent option - #42949
Merged
julien-deramond merged 2 commits intoOct 11, 2026
Merged
Conversation
…ption Signed-off-by: Rawal27 <obviouslykamal@gmail.com>
julien-deramond
approved these changes
Oct 11, 2026
julien-deramond
left a comment
Member
There was a problem hiding this comment.
Thanks! I checked js/src/collapse.js: the parent behavior only relies on the .collapse.show / .collapse.collapsing elements under the parent, not on .card, so the parenthesis was indeed outdated. LGTM.
For the record, the same sentence is still in the v6 collapse docs on main. I'll handle that separately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Remove the outdated reference to the
cardclass from theparentoption description in the Collapse and Accordion documentation.The
parentoption provides accordion-like group management by closing other collapsible elements under the specified parent. Thecardclass is not a requirement for this behavior, so the outdated dependency reference has been removed.Changes
cardclass reference fromsite/src/content/docs/components/collapse.mdx.site/src/content/docs/components/accordion.mdx.No functional or behavioral changes are introduced.