Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion Multiple Tabs Opened #2739

Closed
xAl3xFx opened this issue Apr 11, 2022 · 3 comments · Fixed by #2746
Closed

Accordion Multiple Tabs Opened #2739

xAl3xFx opened this issue Apr 11, 2022 · 3 comments · Fixed by #2746
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@xAl3xFx
Copy link

xAl3xFx commented Apr 11, 2022

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior
In Primereact v.8.0.0-rc.1 when using Accordion with multiple prop and array for multiple indexes 0 tabs are opened instead of multiple.

Reproducer
https://codesandbox.io/s/practical-wood-svf4oe?file=/src/demo/AccordionDemo.js

Expected behavior
In Primereact v7.2.1 everything works properly.

  • React version:
    18

  • PrimeReact version:
    8.0.0-rc.1

  • Browser: [ all ]

  • Language: [ all ]

@melloware melloware added this to the 8.0.0-rc.2 milestone Apr 11, 2022
@melloware melloware added the Type: Bug Issue contains a defect related to a specific component. label Apr 11, 2022
@melloware
Copy link
Member

@xAl3xFx can you provide a Code sandbox reproducer just so we can see the issue exactly.

@xAl3xFx
Copy link
Author

xAl3xFx commented Apr 12, 2022

Hi @melloware ! Thank you for your answer. here I have reproduced the issue.

melloware added a commit to melloware/primereact that referenced this issue Apr 12, 2022
@melloware melloware self-assigned this Apr 12, 2022
@melloware
Copy link
Member

OK good catch its even broken on the showcase right now. I have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants