primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.9k stars 1.05k forks source link

Accordion with TailwindCss #6204

Open areski opened 8 months ago

areski commented 8 months ago

Describe the bug

When using According with tailwindcss, we obtain an accordion that has a very different behavior than the original.

See attached screen here: Peek 2024-03-21 13-38

Ref: I opened an issue on the example here: https://github.com/primefaces/primereact-examples/issues/29

Reproducer

No response

PrimeReact version

10.5.3

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

Use Accordion component with TailwindCSS, open and close accordion.

Expected behavior

Similar transition as on the website: https://primereact.org/accordion/

melloware commented 8 months ago

cc @Tarik1700