Skip to content

Accordion opens the previously clicked item and has no animations #3273

Description

@AdamGKT

Hi,
I’m experiencing an issue with the Accordion component when using Gluestack in a React Native project created with Expo ( tested with Expo Go).

Observed behavior:
When I tap an accordion item, the Chevron switch but the accordion doesn't open.
When I tap a different item afterward, the first one open, not the current one.
If I tap a third item, the second one opens, and so on — the press events seem shifted by one interaction.

There is absolutely no animation when opening or closing any accordion item.

Steps to reproduce:

  • Create a new Expo project using yarn create expo-app

  • Initialize GlueStack following the official setup instructions. npx gluestack-ui init

  • Install all GlueStack UI components. npx gluestack-ui add --all

-Add a basic Accordion to a screen. any exemple from documentation

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions