akiran / react-slick

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

slick track overflow body element #1576

Closed amishPro closed 3 years ago

amishPro commented 5 years ago

I know how to solve this problem what I wanted to open an issue anyway because maybe somebody is having the same problem and because I think is a bug. If you create a slider without any style it overflows the body (and the container if any). You fix this by adding padding. I finded the solution in the playground codesandbox provided in the readme file.

Guidelines for posting a new issue

https://codesandbox.io/s/3msrb

aehm-dacrea commented 4 years ago

Also worked for me .slick-initialized { overflow: hidden; }

diegosaul402 commented 4 years ago

For me, were the arrows that are displayed by default outside the slide, the overflow worked but also overriding the right property for .slick-next, or set arrows: false

dmmello1989 commented 3 years ago

.slick-initialized { overflow: hidden; }

this worked liked a charm, thank you!

mf-7 commented 7 months ago

For me, were the arrows that are displayed by default outside the slide, the overflow worked but also overriding the right property for .slick-next, or set arrows: false

The same problem for me. Thanks.