iPad Safari: animations breaking on 0.2b and 0.3b #49

Closed
leondealmeida opened this Issue Mar 8, 2012 · 6 comments

Comments

Projects
None yet
2 participants
Contributor

leondealmeida commented Mar 8, 2012

On both a website being developed and on the Apple Style demo, Safari causes the animation to stop or fail continuing (demo - iPhones disappear, animation locks up at a certain stage). On the mentioned website, the next and previous buttons simply cease to work and no animation is run. After the locking happens, a click on the prev/next buttons do not yield any responses, but debugging has shown that the events are triggered, and never leave the loop where it waits for the animation events to finish).

On the demo, to achieve the lock, it is necessary to tap on the screen randomly and/or scroll. On the mentioned website, the effects above are noticed when the screen is scrolled.

On the website, the behavior was detected on both 0.2 beta and 0.3 beta, but not on 0.1 (where it works nicely).

Owner

IanLunn commented Mar 8, 2012

Thanks for the detailed information, will look into this very soon.

Contributor

leondealmeida commented Mar 8, 2012

Thanks!

Owner

IanLunn commented Mar 8, 2012

Thanks for the link. It appears to happen on all themes. The touch swiping hasn't been great from the start which I'm assuming is the cause. Hopefully I can find some time tomorrow to rewrite the touch swiping and stop the animations from breaking. This is definetly at the top of the list.

Contributor

leondealmeida commented Mar 12, 2012

Removing the preloader from the js source clears out the issue. I'll investigate what is interfering where and probably send a pull request your way soon.

@leondealmeida leondealmeida added a commit to leondealmeida/Sequence that referenced this issue Mar 12, 2012

@leondealmeida leondealmeida iPad Sequence issue
Removing the preloader element after we're done using it fixes the
issue where the animations cease after interacting with the screen
(specially scrolling). Fixes #49.
039c73e

@leondealmeida leondealmeida added a commit to Habisp/Sequence that referenced this issue Mar 12, 2012

@leondealmeida leondealmeida iPad Sequence issue
Removing the preloader element after we're done using it fixes the
issue where the animations cease after interacting with the screen
(specially scrolling). Fixes #49.
a9eab1c
Owner

IanLunn commented Mar 12, 2012

Thanks for the fix. Please could you confirm 0.5b now resolves the issue and I'll close it.

Contributor

leondealmeida commented Mar 12, 2012

It's all clear now.

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