Slick: Synchronised carousels: JS error when page renders on responsive environment with responsive settings

Created on 24 Apr 2015  路  5Comments  路  Source: kenwheeler/slick

Hello!
I have found an issue in this beautiful carousel, which crashes all the beauty on responsive environment.

Steps to reproduce:

  1. go to http://codepen.io/anon/pen/MwWddy
  2. render it in browser with width more than 900px: carousels works perfect in pair.
  3. make window smaller than 900px without reload: carousel still works super good
  4. reload page in browser with width less than 900px: BAM! carousels are broken with error in console "Uncaught TypeError: Cannot read property 'getSlick' of undefined"

Please please help me to fix it i need synchronised carousel with responsive settings soooo much!

Confirmed

Most helpful comment

yep @TonySpegel is correct.
But actually you will need release 1.5.3 for the fix. What you were seeing (1.5.2) was just the master branch without a build :smile:

This was fixed with the commit: https://github.com/simeydotme/slick/commit/0d4339d5ad3ff25ad85863d8f548775b17ee9162 :bow:

All 5 comments

Nice bug report. Looking into this.

I'm having the exact same issue. I realise it's only recently been reported but any idea on when a fix will be released?

I also noticed that it wasn't an issue with version 1.3.15 as I do have a site up and running which has the synchronised carousels and is fine. I am using 1.4.1 for this current site and it does have the issue.

1.5.2 seems to fix this (06th may) - at least for me. Had 1.5.0 prior to this and got sth. pretty similiar to @kakt00c

yep @TonySpegel is correct.
But actually you will need release 1.5.3 for the fix. What you were seeing (1.5.2) was just the master branch without a build :smile:

This was fixed with the commit: https://github.com/simeydotme/slick/commit/0d4339d5ad3ff25ad85863d8f548775b17ee9162 :bow:

That is really helpful! Thank you a lot! :dancers:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

REPTILEHAUS picture REPTILEHAUS  路  3Comments

xtatanx picture xtatanx  路  3Comments

jeremymandel picture jeremymandel  路  3Comments

ericestes picture ericestes  路  3Comments

xitongzou picture xitongzou  路  3Comments