Skip to content

Easing "easeInOutBack" on 1st slide doesn't work #61

Closed

Description

@zumajoe

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.

Activity

  1. Mottie commented on Mar 3, 2011

    @Mottie
    Contributor

    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.

  2. Mottie commented on Apr 2, 2011

    @Mottie
    Contributor

    Fixed in version 1.5.8. It's now part of the demo (first slider). Thanks again!

  3. Mottie commented on May 22, 2011

    @Mottie
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions