We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b1ad1 commit f607331Copy full SHA for f607331
src/components/transitionable.js
@@ -35,9 +35,9 @@ const Transitionable = function (target) {
35
},
36
37
transitionDirection() {
38
- const { slideIndex, lastSlide } = this.props;
+ const { slideIndex, lastSlideIndex } = this.props;
39
const slide = this.context.store.getState().route.slide || 0;
40
- return this.state.reverse ? slideIndex > slide : slideIndex > lastSlide;
+ return this.state.reverse ? slideIndex > slide : slideIndex > lastSlideIndex;
41
42
43
getTransitionStyles() {
0 commit comments