flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

Carousel minimal example: images not showing up

Open c-marc opened this issue 2 years ago • 6 comments

Hello. I'm trying the Carousel (copy & paste the minimal example from flowbite-react doc) and I cannot see any images... I see the buttons and the slides getting triggered... Images are urls as in the doc and I tried with local ones two...

Any idea where that could come from ? React, Vite setup, TailwindCSS and flowbite installed and configured without any deviation... (the rest is working) I'm into that urgent deadline. And I would greatly appreciate it if anyone has any idea on that one... Thanks+++

PS: I'm refering to flowbite-react, but I'm hoping to find some help here with this regular issue. I filed a bug on the correct GH just in case https://github.com/themesberg/flowbite-react/issues/799

c-marc avatar Jun 08 '23 07:06 c-marc

Same here..

tomaszgrabowski avatar Jun 13 '23 16:06 tomaszgrabowski

@tomaszgrabowski I found a trick that worked for me and posted it there https://github.com/themesberg/flowbite-react/discussions/801. Hopefully this can help you too. Yet I don't get why I'm having this issue and some people apparently don't (see discussion overthere, codepen exemple and so on... If you're facing the same issue, you can confirm it there too, maybe this will help to understand what's happening and what's not specific to me). Marc

c-marc avatar Jun 13 '23 18:06 c-marc

@tomaszgrabowski I found a trick that worked for me and posted it there themesberg/flowbite-react#801. Hopefully this can help you too. Yet I don't get why I'm having this issue and some people apparently don't (see discussion overthere, codepen exemple and so on... If you're facing the same issue, you can confirm it there too, maybe this will help to understand what's happening and what's not specific to me). Marc

It worked for me. Thank you very much!

isabel5200 avatar Aug 31 '23 16:08 isabel5200

try adding this to your tailwindcss config file content array: "./node_modules/flowbite/**/*.js"

yassinbagane2 avatar Nov 07 '23 15:11 yassinbagane2

@tomaszgrabowski I found a trick that worked for me and posted it there themesberg/flowbite-react#801. Hopefully this can help you too. Yet I don't get why I'm having this issue and some people apparently don't (see discussion overthere, codepen exemple and so on... If you're facing the same issue, you can confirm it there too, maybe this will help to understand what's happening and what's not specific to me). Marc

Wrapping the carousel in a div with height and width should have this fixed...

asiimwearnold avatar Nov 15 '23 18:11 asiimwearnold

try adding this to your tailwindcss config file content array: "./node_modules/flowbite/**/*.js"

This worked for me

Mesake94 avatar Sep 08 '24 08:09 Mesake94