-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ImageCarousel #457
Add ImageCarousel #457
Conversation
I removed the usage of internal state because I wasn't able to get it working nicely in listings app. |
ae13972
to
a356470
Compare
According to https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode keyCode is deprecated.
a356470
to
6a46c9c
Compare
Also, for some reason, |
|
autoPlay wasn't working because in reactstrap there's this line: https://github.com/reactstrap/reactstrap/blob/6.4.0/src/Carousel.js#L35 If we look closely we'll notice on this line https://github.com/reactstrap/reactstrap/blob/6.4.0/src/Carousel.js#L57 calls setInterval if props.interval isn't falsy, even if autoPlay is set to false! The workaround here is set interval to zero to avoid this.
…gears into addImageCarousel
Workaround for reactstrap issue
WIP, do not merge