Skip to content Skip to sidebar Skip to footer

Slick Carousel Error

Anyone knows possible causes of this error? Uncaught TypeError: Cannot read property 'add' of null I am using slick carousel with React.js. I pass in the images array as a prop an

Solution 1:

This might be the result of initialising slick twice - see this other SO question. You could check if you are running init twice with the init event.

$( '.your-slick-container' ).on('init', function(event, slick, direction){
    console.log('slick init');
});

Post a Comment for "Slick Carousel Error"