I have observed that drawer animation becomes "jumpy" if view performs a lot of data loading and binding on show. As a way around it, I am building postponing any heavy duty processing until the animation is completed.
I am using deferred promises to watch for the transition to complete using the following. Here's a question: is there a way to do it?
I am using deferred promises to watch for the transition to complete using the following. Here's a question: is there a way to do it?
$.Deferred(function(){ var promise = this; timer = setInterval(function() { if ($("#my-drawer:not(:visible)")[0]) { clearInterval(timer); promise.resolve(); } }, 100);})