1.5.9 gets initialized but somehow it doesn't work, wraps some extra divs
Slider worked fine with 1.5.7. I updated to 1.5.9, slider wrapper gets the slick-initialized and slick-slider class, all slides somehow get wrapped with two divs, slides are shown one below the other. Console log displays no error, I tried with both jQuery 2.1.4 and 2.2.0, no difference. I'm using this basic html:
<div class="cars-featured">
<article>
<div class="slide-background" data-background="/path/to/image.jpg"></div>
</article>
<article>
<div class="slide-background" data-background="/path/to/image.jpg"></div>
</article>
<article>
<div class="slide-background" data-background="/path/to/image.jpg"></div>
</article>
</div>
and running it with:
$('.cars-featured').slick({
infinite: true,
slidesToShow: 1,
slide: 'article',
arrows: false,
speed: 300,
autoplay: true,
autoplaySpeed: 4000
});
This is the code it creates, no idea where those wrapped divs come from.

No other script is involved for this case.
No JSFiddle - closing
- DELETED due to me being an idiot, sorry -
- EDITED due to him being sorry
@kenwheeler I appreciate the work you do maintaining Slick. I've used it on dozens of projects, and it has saved me tons of time and headaches. Thanks!
@danielbachhuber thanks homie
@Stiropor The requirements are laid out in CONTRIBUTING. Don't get defensive, just follow the rules.
Maybe asking for a JSFiddle would be even better not just closing with "No JSFiddle - closing". I don't know what kind of requests you have. I know this project is free, so far it worked great, I appreciate the work and all, but if you want something ask, just closing the issue doesn't help anything (and yeah, my attitude doesn't either, maybe it's time to leave the office after 15 hours). Posting JSFiddle asap. Thanks.
@Stiropor

:disappointed:
Maybe we could say
Closing - please add a JSFiddle to reopen
Might have a softer touch with our valued community.
On Thursday, January 14, 2016, Ken Wheeler [email protected] wrote:
Wait @Stiropor https://github.com/Stiropor, you want me to take time out of my day, to diagnose and fix your issue, for free, and you can't give a fraction of that time to show a reduced test case in jsfiddle to help me do that quicker? Give me 10 minutes and I'll gladly process your refund.
— Reply to this email directly or view it on GitHub https://github.com/kenwheeler/slick/issues/2016#issuecomment-171754187.
Noted. sorry, its my first time contributing like this, so I was treating it like work.
I did not realize the community was so sensitive -ashley
On Jan 14, 2016, at 1:44 PM, senoff [email protected] wrote:
Maybe we could say
Closing - please add a JSFiddle to reopen
Might have a softer touch with our valued community.
On Thursday, January 14, 2016, Ken Wheeler [email protected] wrote:
Wait @Stiropor https://github.com/Stiropor, you want me to take time out of my day, to diagnose and fix your issue, for free, and you can't give a fraction of that time to show a reduced test case in jsfiddle to help me do that quicker? Give me 10 minutes and I'll gladly process your refund.
— Reply to this email directly or view it on GitHub https://github.com/kenwheeler/slick/issues/2016#issuecomment-171754187.
— Reply to this email directly or view it on GitHub https://github.com/kenwheeler/slick/issues/2016#issuecomment-171790683.
@senoff agreed, but normally folks don't respond like this
@mcashley don't sweat it, let's go with a will reopen clause
@kenwheeler and @mcashley Bad timing and my very bad reply, I know. It wasn't right and I apologize, it was a pretty retarded reaction. I know there are many issues you have to work with and all, but the goal should be to fix your script if problem is found and just closing it doesn't help. I also cannot read guidelines for every project (and never had any problems before), but yeah, posing JSFiddle is the right way.
Anyway, here is what I figured out: the problem is version on master, 1.5.9 (if downloaded from website) works, master (it says 1.5.9 of course) doesn't. I will be careful about this in the future and am using the website's version now. And here are the examples:
1.5.9 (working): https://jsfiddle.net/oa893ss1/18/ 1.5.9 from github (nonworking): https://jsfiddle.net/oa893ss1/16/
Tested in Chrome.
Hope this helps.
@Stiropor thanks man, don't sweat it
I actually had a problem with the code in master as well. The last check in checking for
_.options.rows >= 1
doesn't jive for me
@mcashley can you show me a line number for that? whats going on there?
@mcashley yeah its the rows
Reverted, master should be fine now