Results 1 to 4 of 4

Thread: Problem with showAnimation()

  1. #1
    Sencha User
    Join Date
    Feb 2014
    Posts
    15

    Default Problem with showAnimation()

    I'm having this type of problem in Sencha Touch 2.x.

    Scenario:
    1) I have Carousel consisting of 7 containers
    2) Each container has their own animation triggered by .show() and animated using showAnimation.
    3) I've added activeitemchange event on carousel so that it can control which element or container has to be animated.

    Problem:
    Everything is working fine slide after slide, animations are fine. but when you swipe fast from container 1 to container 7, all of them are shown and not animated.

    Note: Ive added refresh for every slides in the carousel so that the user can reanimate the elements, this refresh function has hide() and show(). but it doesnt work.

    Hoping for your fast response. Any input is appreciated. Many thanks.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449
    Answers
    3997

    Default

    In a carousel, items should be shown off screen and then animated in which likely could break the showAnimation as it's not expecting to use that.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2014
    Posts
    15

    Default

    Any thoughts or advice? As of my understanding how carousel works, it has 3 divs, in which these 3 divs are the current slide, the previous slide and the next slide, when you jump to the last slide e.g. from slide 2 to slide 7, the 3 divs will drop slide 1, 2 and 3 converting these 3 divs as current slide - slide 7, previous slide - slide 6 and next slide - slide 8.

  4. #4
    Sencha User
    Join Date
    Mar 2014
    Location
    canlaon city
    Posts
    4

    Default animation_joana

    I guess that animation helps beautify a certain show... It attract young viewers..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •