Carousel autoplay stops on hover even when pause is set to f


Topic: Carousel autoplay stops on hover even when pause is set to false

EthanPB pro premium priority asked 2 months ago

Expected behavior When the Pause attribute is specified as false, the carousel should continue auto-play when the mouse is over it.

Actual behavior Default behaviour continues, and the carousel auto-play stops when hoving over it with a mouse.

Resources (screenshots, code snippets etc.) The browser JS console complains about "Warning: Received false for a non-boolean attribute pause"

Example setup:

<MDBCarousel fade interval={5000} pause={false} touch={false} >
     <!-- Carousel Items -->
</MDBCarousel>

Mateusz Lazaru staff commented 2 months ago

Thanks for reporting this issue, I've added a task to fix it.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 8.0.0
  • Device: Desktop
  • Browser: Google Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No
Tags