akiran / react-slick

React carousel component
http://react-slick.neostack.com/
MIT License
11.72k stars 2.1k forks source link

OnClick not working right after swipe #1889

Open SungYoun opened 4 years ago

SungYoun commented 4 years ago

Hello. Except for the following situations, the onClick event of the swipe item is ignored. 1.Click the item about 1 second after swipe

  1. Double-click the item after swipe

[Development/test environment] react: 16.13.1, react-slick: 0.27.10, mobile: android for chrome85

luisliuchao commented 4 years ago

@SungYoun i had the same issue as u and figured out that it has been fixed in this commit https://github.com/akiran/react-slick/commit/f958da53d1f25e29bb43b5b7ad222621342092d8

Just upgrade the package and it shall be fine.