Delays on changing state of app
Hi Ionic! I'm testing this framework on simulator, chrome emulation mode and iOS7 device (last iPad mini and iPhone 5) and noticed some delays during transitions between states. When I'm taped on "Back" button in Chrome emulation mode or mobile safari - everything is ok, delay is absent. But when application is running on device I noticed some delay before animation for transition starts. (Duration of delay in default application ~200-400 ms and duration of this delay increases proportionally number of HTMLElements in own application) I'm attaching two screenshots of timelines for 'back event' in the application and in the mobile safari on the device. It seems that transition on the device starts only after longest "touched event" dispatched and it's a problem for responsive application UI. This screenshots and description of behavior for default ionic application( "in CLI: ionic start hello").Could someone help me with this question for responsive? Should I send more information?
Timeline for app

Timeline for mobile safari

+1 for the delay on the state changes on iPhone 4 (while being perfect on chrome or ios-sim).
+1 I am experiencing the same issues.
+1 I am experiencing the same issues.
iOS 7.1.1 iPhone 5 Ionic 1.0.0-beta.b5
+1 !
+1 for the delay especially on older devices such as iPhone 4/4S
+1, experiencing the same problems.
+1 - exactly the issue I'm facing.
+1 My hope is on beta.7 :angel:
Android 4.4.2 Moto X Ionic 1.0.0-beta.6 (And olders of course)
+1 for fixing the delay.
This is not an easy problem to fix in the browser, but we are working on a solution.
The browser has to compile a new page's HTML, then insert that into the DOM, then go to the new page. What takes time is compiling the new page's HTML.
We're working on a solution that will precompile and cache pages that are big, saving their elements in memory to be reused later when needed.
Will this be ready for beta 7?
I doubt it. We have paused work on it to focus on end to end tests and demos so we can be sure to release without bugs.
We should be done with this this week, then refocus on navigation next week. Give it a couple of weeks, I would say. On May 22, 2014 7:51 AM, "Maarten" [email protected] wrote:
Will this be ready for beta 7?
— Reply to this email directly or view it on GitHubhttps://github.com/driftyco/ionic/issues/1434#issuecomment-43890243 .
+1, but i'm glad to hear that you're working on it.
+1 for this issue and making this a higher priority : for people (like me) comparing html mobile frameworks, this is a major drawback on such a common use case.
@mbody yup, it's a really big deal. We'll focus on it as soon as we can.
It's also really important, though, for us to improve our testing infrastructure sooner than later. We're setting up some stuff that will make it very easy for us to know if anything in Ionic has broken.
We already have unit tests, but those only get you so far. You can't test your UI with unit tests.
And end-to-end tests take too long to write and are not easily maintainable.
We'll be taking a similar approach to Huxely.
+1 having the same problem (in addition to some memory leak issues), and eagerly waiting for a solution. Other than these two, ionic is really awesome. After they fix these issue, I think this should be the preferred framework for hybrid mobile apps.
+1
+1
+1
+1 :)