You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Easing "easeInOutBack" on 1st slide doesn't work #61
If you apply easing: "easeInOutBack", the first slide (once you click through all slides and it returns to the first) will not perform the easing- makes the flow of things seem odd.
Hmm, I don't think that will be an easy fix. The main problem is that the script uses scrollLeft to position the panel in view and scrollLeft doesn't allow negative numbers which it would need in order to perform that particular easing.
I haven't looked at why going past the last slide also causes the same sudden animation stop. But I'll look into it.
The next best solution would be to turn off the infinite slides (set "infiniteSlides : false" in the options), if you are willing. It'll just rewind when it hits either end.
I changed the script again in version 1.5.13. The slider no longer uses scrollLeft to position the visible slide. It now uses left so this problem no longer occurs as well as a left margin is no longer required.
Activity
Mottie commentedon Mar 3, 2011
Hi Zumajoe!
Hmm, I don't think that will be an easy fix. The main problem is that the script uses scrollLeft to position the panel in view and scrollLeft doesn't allow negative numbers which it would need in order to perform that particular easing.
I haven't looked at why going past the last slide also causes the same sudden animation stop. But I'll look into it.
The next best solution would be to turn off the infinite slides (set "infiniteSlides : false" in the options), if you are willing. It'll just rewind when it hits either end.
Mottie commentedon Apr 2, 2011
Fixed in version 1.5.8. It's now part of the demo (first slider). Thanks again!
Mottie commentedon May 22, 2011
I changed the script again in version 1.5.13. The slider no longer uses
scrollLeftto position the visible slide. It now usesleftso this problem no longer occurs as well as a left margin is no longer required.