Skip to content

Carousel is broken with Tailwind 4 #1564

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

Open
2 tasks done
bourquep opened this issue Apr 16, 2025 · 6 comments
Open
2 tasks done

Carousel is broken with Tailwind 4 #1564

bourquep opened this issue Apr 16, 2025 · 6 comments

Comments

@bourquep
Copy link

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

After upgrading from Tailwind 3 to Tailwind 4, the Carousel isn't rendering properly. Each slide is rendered on top of each other.

Here's a CodeSandbox that reproduces the issue:

https://codesandbox.io/p/devbox/y3l7vf

Current behavior

Image

@syiffanoriza
Copy link

Hi, I'm facing the same issue right now, just moved from v3 to v4. Did you manage to resolve this issue yet?

@SutuSebastian
Copy link
Collaborator

Hey there, did u guys follow the release changelog migration guide? also make sure to check "Breaking Changes" section too.

See here flowbite-react@0.11.0.

@SutuSebastian
Copy link
Collaborator

The sandbox does not work because of #1559

@syiffanoriza
Copy link

Hi @SutuSebastian, I was trying to use the carousel on a pure vitawind project I just made today. everything on its latest version. Taking a step back, I'm not so sure where the issue is. Is it the carousel or the vitawind starter I'm using. Best I get back to it now.

Thanks for the heads up regarding the migration guide!

@SutuSebastian
Copy link
Collaborator

Using tools like vitawind is simply redundant today.

If u want to have a fresh nice configured template using flowbite-react simply run npx create-flowbite-react@latest and pick ur framework/bundler of choice

@syiffanoriza
Copy link

thank you, I'll keep that in mind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants