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

vite-unstyled-tailwind - Accordion #29

Closed
areski opened this issue Mar 21, 2024 · 6 comments
Closed

vite-unstyled-tailwind - Accordion #29

areski opened this issue Mar 21, 2024 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@areski
Copy link

areski commented Mar 21, 2024

In the [vite-unstyled-tailwind](https://github.com/primefaces/primereact-examples/tree/main/vite-unstyled-tailwind) if we add an accordion, we obtain an accordion that has a very different behavior than the original.

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

As you can see, it opens and then close, rather than having a smooth transition:
https://primereact.org/accordion/

@melloware
Copy link
Member

See this ticket someone just fixed the tailwind animations: primefaces/primereact#5540

@melloware
Copy link
Member

@areski are you using PrimeReact 10.5.3 ?

@areski
Copy link
Author

areski commented Mar 21, 2024

@melloware yes, that was tested with v10.5.3

@melloware
Copy link
Member

OK I asked @Tarik1700 to chime in...he made the Tailwind animation changes.

@Tarik1700
Copy link

@melloware This seems like a different issue, my guess is that the tailwind version uses 1 timeout to control both the exit and enter animations, where as the regular accordion uses a dual timeout as i can see in the code. Just a guess tho, i'll take a look if i find the time for it.
image

@melloware
Copy link
Member

OK I closed this as he opened a ticket on the real PrimeReact Issue page where it belongs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants