Skip to content

[Accordion] Closing an element causes all other elements to close momentarily #1040

Closed
@axelhzf

Description

@axelhzf

Bug report

Current Behavior

Kapture.2021-12-14.at.09.40.47.mp4

The first time that an element is closed, it causes all the other elements to close momentarily. After the initial close, the rest of the open or close actions work properly.

Expected behavior

The first time the element is closed should work like the other ones

Reproducible example

CodeSandbox Template

Suggested solution

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-accordion 0.1.4
React n/a 17.0.2
Browser Chrome 96.0.4664.93
Assistive tech
Node n/a
npm/yarn
Operating System macOs 12.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions