The slider settings:
slidesToShow: 3,
slidesToScroll: 1,
dots: false,
arrows: true,
infinite: false,
responsive: [
{
breakpoint: 767,
settings: {
arrows: false,
dots: true,
slidesToShow: 3,
slidesToScroll: 3
}
}, {
breakpoint: 600,
settings: {
arrows: false,
dots: true,
slidesToShow: 1,
slidesToScroll: 1
}
}
]
When resizing a browser window from a smaller resolution to a larger one, it gives an error and the arrows do not appear
TypeError: Cannot read property 'off' of null http://joxi.ru/5mdWv0LIv8jzJr
slick ver 1.7.1
Having the same issue here. Seems to be already fixed in the master branch https://github.com/kenwheeler/slick/commit/a3cefec4398c5fd2026894ee3a39eb7ed0e73d16
so, i am waiting for a new release.
I'm getting the same error on page load when there are two instances of slick on a page. The second instance doesn't load at all. The fix mentioned in the comment above fixed it for me too though, so the current master branch is good.
I also see the issue but I see it in another line.
e.$list.off("touchstart.slick mousedown.slick", e.swipeHandler),
Any idea on when the new release with this fix is coming up?
Good question. A fork may be a good idea imho.
new release is out. thanks!
@leggomuhgreggo just a quick note...can you please publish on npmjs as well? thanks!
Ken's got the keys there, but it should be up soon.
Sorry to bother you @kenwheeler ...could you please could publish the latest release on npmjs? Thanks.
Most helpful comment
Having the same issue here. Seems to be already fixed in the master branch https://github.com/kenwheeler/slick/commit/a3cefec4398c5fd2026894ee3a39eb7ed0e73d16
so, i am waiting for a new release.