Skip to content

Carousel: Cannot set properties of undefined (setting '_items') #799

Closed

Description

@c-marc

Describe the bug
I'm trying the Carousel (copy & paste the minimal example from the doc) and images don't show up...
I see the buttons and the component full width, and the slides getting triggered... But not the images... Those are fetched from url and I tried with local assets too...

React, Vite setup, TailwindCSS and flowbite installed and configured without any deviation... (the rest is working)

To Reproduce
Copy & paste the minimal example from the doc

Expected behavior
See placeholders

Screenshots
If applicable, add screenshots to help explain your problem.

System information:

  • Device:
  • Resolution:
  • OS: iOS
  • Browser: Chrome
  • Version:

Project information:

  • Tailwind: 3.3.2
  • Flowbite: 1.6.5
  • Flowbite React: 0.4.7
  • Type: Vite

Activity

  1. rluders commented on Jun 8, 2023

    @rluders
    Collaborator

    @c-marc try to update the flowbite-react. It seems that you are using 0.1.2 we are at 0.4.7.

  2. c-marc commented on Jun 8, 2023

    @c-marc
    Author

    Thank you fore your answer @rluders. My bad: I just didn't correctly set the version in the issue. I was up to date. Actually I made an incorrect import of Carousel, from flowbite and not flowbite-react... This was throwing the error. Now it's not but I don't see the images :/ Must be sthg simple I don't get...

  3. rluders commented on Jun 8, 2023

    @rluders
    Collaborator

    I'm converting this to discussion, 'cause it isn't a bug.

  4. locked and limited conversation to collaborators on Jun 8, 2023
  5. converted this issue into a discussion #801 on Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions