react-slick: Setting rows property to < 1 or null crashes the app and tab.

The app will crash if you set the sliders row property to anything < 1 or null. The row property sometimes needs to be set to 0 so slick doesn’t wrap your slide content in a pointless div according to a resolved issue on the slick github repo.

To replicate just add rows: 0 to your settings object.

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 10
  • Comments: 15

Most upvoted comments

We almost defeated covid but we can’t have a fixed slider in 2021… I’ll see if I can do it and open a PR.

Dw! The world will end soon, we can mark this issue as “low priority”