Skip to content

[accordion][docs] Accordion API table incorrectly lists multiple default as true (contradicts v1.0.0-beta.5 release) #3447

@patrick-xin

Description

@patrick-xin

Description

I noticed a discrepancy in the Accordion documentation regarding the multiple prop on the Root component.

In the API Reference table, the default value for multiple is listed as:

multiple | boolean | true

However, the actual default is false. This was introduced as a breaking change in v1.0.0-beta.5, but the API table seems to be outdated.

Proof

The release notes for v1.0.0-beta.5 explicitly state:

"Breaking change: Change multiple prop to be false by default and add a demo (#3141)"

Additionally, the "Open multiple panels" demo in the current docs explicitly passes the multiple prop, further implying the default is single-open.

Expected Behavior

The API Reference table should be updated to list the default value for multiple as false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: accordionChanges related to the accordion component.docsImprovements or additions to the documentation.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions