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

bug: Carousel of Cards does not behave as expected #3217

Closed
jpeterson opened this issue Sep 22, 2024 · 2 comments
Closed

bug: Carousel of Cards does not behave as expected #3217

jpeterson opened this issue Sep 22, 2024 · 2 comments

Comments

@jpeterson
Copy link

What version of daisyUI are you using?

4.12.10

Which browsers are you seeing the problem on?

Chrome

Reproduction URL

https://play.tailwindcss.com/jCdSW9XQ2A

Describe your issue

Using the default Carousel example but swapping out the <img> elements in the example with the default Card example breaks the Carousel's horizontal scroll behavior, allowing the Cards to cause a horizontal page scroll instead.

Copy link

Thank you @jpeterson for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

Add a width to it. Like w-full
It's not a good idea if I add a default width to the library as default because the width depends on the content.

Let me know if you have a question.

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

2 participants