You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @robsontenorio
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.
Let's keep this issue, because #4429 was a discussion.
I agree that it's better to set sizes to the images, but this shouldn't look different in different browsers either.
No. Chrome works by default. Firefox needs the h-full on carousel-item. Safari needs h-full on img if you put it on carousel-item
The last example should look the same on all browsers.
But if you want to always show full-height and only images (no overlays or other elements in an item) then the simplest solution is to put images as direct children of carousel and apply carousel-item class on the images
Activity
github-actions commentedon Jul 10, 2026
Thank you @robsontenorio 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.
pdanpdan commentedon Jul 10, 2026
Isn't this the exact duplicate of #4429
robsontenorio commentedon Jul 10, 2026
@pdanpdan I noticed this is "different now" because I was expecting that daisyUI should work the same with Firefox.
saadeghi commentedon Jul 10, 2026
Let's keep this issue, because #4429 was a discussion.
I agree that it's better to set sizes to the images, but this shouldn't look different in different browsers either.
I will work on it.
pdanpdan commentedon Jul 17, 2026
It looks like the
.carousel-itemneeds ah-fullso that firefox also applies the right widthexample: https://play.tailwindcss.com/XJQmpKMi6S
robsontenorio commentedon Jul 17, 2026
But it will break on WebKit
pdanpdan commentedon Jul 17, 2026
Yes, correct.
Firefox + Safari: https://play.tailwindcss.com/quCg5Gw2Ns
So you must specify height on both
.carousel-itemand onimgrobsontenorio commentedon Jul 17, 2026
Do you mean I need to use different CSS approachs for different OS/Browsers?
pdanpdan commentedon Jul 17, 2026
No. Chrome works by default. Firefox needs the h-full on carousel-item. Safari needs h-full on img if you put it on carousel-item
The last example should look the same on all browsers.
But if you want to always show full-height and only images (no overlays or other elements in an item) then the simplest solution is to put images as direct children of carousel and apply carousel-item class on the images
robsontenorio commentedon Jul 17, 2026
Ok, I think this is enough , thanks and sorry for bothering !