-
-
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
Sliding on mobile device scrolls entire page #1281
Comments
May share a root cause with #1240 |
This was my solution:
Thanks to @yunyong for his helpful comment. |
You can also solve this by giving the surrounding container a |
That's right, @renetalk , but I'd like to point out that it's the react-slick container.
|
Problem with the overflow: hidden hack is that the dots are then missing and I'm not able to bring them back somehow |
Or just disable the arrows thats working better. |
.slick-slider { funcional para mim, valeu mesmo!!! |
.slick-slider { |
.slick-slider { Now It will works. |
still not working for me. dots still gone |
I used this solution: .slick-list { max-width: 99%; } Overflow X is gone and dots are visible. You might need to set/unset margins on mobile to center active slide. |
I used this solution because with the overflow hidden the dots was gone and with the line below it´s now dots are back |
I have only seen this happen on an actual mobile device, not in the mobile views available in either Chrome or Safari developer tools.
It appears to only affect iOS (confirmed on iPhone running 11.3 and iPhone 8 Plus running 11.4) and not Android.
React Slick mobile
Slick mobile
The text was updated successfully, but these errors were encountered: