-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
autoplay stops when window is resized on touch device #709
Comments
@github0013
|
Probably fixed in #651 which is a one character fix. A bit simpler. |
Fixed in 0.15 release |
I am not able to get autoplay to work in any browser on touch device like mobiles, until i click on next/previous. "react-slick": "0.14.11" |
env
replication
[rails repo] that can replicate this issue (https://github.com/github0013/on_window_resize)
git clone .. cd ... rails s open http://localhost:3000
problem
on touch devices, I think any browsers hide the address bar. When the address bar is hidden, window.resize event fires.
(when you swipe from bottom to top, this part goes away)
Tested on iPhone6 (safari firefox chrome), when window.resize happens image scrolling stops.
(but for some reasons, Demo works fine in any cases)
I tried this workaround #543 , but this didn't work for me.
Instead, I did this
slickNext()
https://github.com/github0013/on_window_resize/blob/master/app/javascript/packs/with_debounce.jsx#L10-L25Anybody having the same issue? or it's just me?
The text was updated successfully, but these errors were encountered: