`animationHandler` prop not working?
See original GitHub issueHello, I’ve tried setting animationHandler="fade"
and the Carousel still seems to slide.
Is there a known issue?
Am I missing something maybe?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:19
- Comments:21
Top Results From Across the Web
`animationHandler` prop not working? - - Bountysource
animationHandler` prop not working? ... Hello, I've tried setting animationHandler="fade" and the Carousel still seems to slide. Is there a known issue?
Read more >error: exception in animation handler for: onEnd
If I remove the props layer from both the map and legend objects, the error is gone. Here's what I have: dojo.addOnLoad(init); var...
Read more >ReactJS key prop not working in CSS animation
ReactJS key prop not working in CSS animation ... I have a simple object with some details in which are looped and outputted...
Read more >react-responsive-carousel - npm
Start using react-responsive-carousel in your project by running `npm ... which can be used by passing 'fade' to the animationHandler prop.
Read more >camfolio/react-responsive-carousel v1.0.9 - npm.io
The animation handler functions accept props and state, and return styles for the contain list, ... Only play videos on selected slides to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys, for me doesn’t work just using the import like this.
import Carousel from 'react-responsive-carousel/lib/js/components/Carousel/index'
The carousel worked, but it didn’t show anything on the screen, so I found out that the z-index of the lists were all like -2. So it was easy to fix by forcing the style setting:
carousel:{ '& li':{ zIndex: '1 !important' } },
I hope this is good for someone else who’s come up with the same problem as me.
We discovered this repo for this annoying issue. Currently the structure of lib/carousel is broken.
When importing carousel component replace this:
import { Carousel } from "react-responsive-carousel";
with this:
import Carousel from "react-responsive-carousel/lib/js/components/Carousel/index";
please fix in future release 👍 thank you