Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use transition event to check whether the animation has finished to fix visual problems caused by any performance problems. #9

Closed
wants to merge 4 commits into from

Conversation

sebinsua
Copy link

@sebinsua sebinsua commented Feb 5, 2013

Fixed performance problems on iOS6 causing a white block to appear where the initial view you were moving from is removed too early. Now we wait for the animation to officially end rather than make assumptions.

Seb Insua added 3 commits February 5, 2013 13:15
…ere the initial view you were moving from is removed too early. Now we wait for the animation to officially end rather than make assumptions.
…led again. This causes situations in which the underlying Backbone.History.fragment is the same as the fragment (or view name) which we want to switch to, yet the view which is being shown is the previous view. You can end up trapped on a view. Performance-related yet again...
@sebinsua
Copy link
Author

sebinsua commented Feb 5, 2013

I have made the change suggested before, and I have also fixed another performance issue relating to getting trapped on a view. Perhaps I have not fixed it in the most elegant way since I am testing whether the 'animate' class is there but it works!

@sebinsua sebinsua closed this May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants