Carousel not updating when new item added


Topic: Carousel not updating when new item added

jenmandy asked 5 years ago

Expected behavior When an item is added to the carousel programmatically via updating an array, the MDBCarousel length updates, and a new circle is added to the controls so that slide and navigation will work to show new item.

Actual behavior Item is added, but hidden over to the right. Controls are not updated to show new navigation is available.

Resources (screenshots, code snippets etc.)

Before adding item to array

After adding item to array


Konrad Stępień staff answered 5 years ago

Hi @jenmandy,

Thank you for the founded bug!

We will fix this in the near future.

Also, can you send me some of your code?

Best regards.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.20.0
  • Device: mac
  • Browser: chrome
  • OS: mac os
  • Provided sample code: No
  • Provided link: No