akiran / react-slick

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

Custom style props for slides are replaced by the defaults in v0.22 and above #1244

Open ryanbagwell opened 6 years ago

ryanbagwell commented 6 years ago

Sandbox example: https://codesandbox.io/s/r0ynqpjjoo

I believe it was caused by this change:

https://github.com/akiran/react-slick/blame/208d549cde1be7d04def34f376f70f28fb7b9e83/src/slider.js#L141-L142

MickeyKay commented 6 years ago

Sounds like this is making life difficult for lots of folks. What's the priority of getting a solution out?

Yangfan2016 commented 5 years ago

It's weird,why do(overwrite custom style)❓