Which jQuery/Slick version are you using? => Latest
Did this work before? => No
Here is the code that slick.js uses to remove slides. I added a comment tag for return false; so that Slick can remove item that comes with a negative value in the "data-slick-index" attribute( I also tried to remove items based on "data-slick-index" ).
The "slickRemove" method is unable to remove the ("slick-cloned" + its original) slide based on the "click" event on the "slick-cloned" slide.
====================================================================
[ paste your jsfiddle link here ]
http://jsfiddle.net/anisur5/ehpacfvj/46/
====================================================================
Steps to reproduce the problem
It happens whenever I click on the "slick-cloned" slides.
====================================================================
What is the expected behaviour?
I want slick to remove the clicked (cloned) item + its original item. ...
====================================================================
What is observed behaviour?
Slick's "slickRemove" method can not delete the clicked item if the item is "slick-cloned". ...
====================================================================
More Details
Here is the code that slick.js uses to remove slides. I added a comment tag for
return false;
so that Slick can remove item that comes with a negative value in the "data-slick-index" attribute( I also tried to remove items based on "data-slick-index" ).