darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 497 forks source link

Items break in 1.6.1 #252

Open karlpokus opened 8 years ago

karlpokus commented 8 years ago

I upgraded from 1.2.1 to 1.6.1 today (via cdnjs) and when I use .add() the first item always drops down below the slide and is not visible. I can only see it in chrome dev tools. This is regardless if I .reload() or use .toCenter() afterwards. It also makes the slide unresponsive and does not activate item on scroll and such. Wierd.

Anyways I reverted back to 1.2.1 and everything works as expected. Though you should know.

karlpokus commented 8 years ago

FYI. I upgraded to the latest jQuery (3.1.1) today and got the issue above again. No clue why. Sly@1.2.1 and jQuery@2.1.3 works. That's all I know.

kevinphys commented 7 years ago

@karlpokus I have the same issue while I tried to .add() item into slide and that would become invisible. I have no idea either.

Should I move to older version?

karlpokus commented 7 years ago

@kevinphys Well. You could try. I got it to work by running the (edit: old) versions above.