Skip to content

Commit 80eb64a

Browse files
authored
Merge pull request #3 from xanido/fix-swipe-tap
Fix swipe-tap issue
2 parents 2e3f62b + efd35f5 commit 80eb64a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Change Log
22

33
## [Unreleased](https://github.com/DomainGroupOSS/react-slick/tree/HEAD)
4+
### Fixed
5+
- Fix issue preventing the first tap after a swipe from being propagated
46

57
## [0.24.3][] - 2019-06-03
68

src/inner-slider.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ export class InnerSlider extends React.Component {
418418
asNavFor.innerSlider.slideHandler(index);
419419
if (!nextState) return;
420420
this.animationEndCallback = setTimeout(() => {
421+
this.clickable = true;
421422
const { animating, ...firstBatch } = nextState;
422423
this.setState(firstBatch, () => {
423424
this.callbackTimers.push(

0 commit comments

Comments
 (0)