Short description of the problem:
I have a modal to input data which is then added to a list after the modal closes, but the new element only appears after the Modal animation end. I measured about 675 ms of latency in my project and 330 ms in Plunkr (less dependencies).
What behavior are you expecting?
300-675 ms of latency
Steps to reproduce:
- Create a modal and a root page
- Launch the modal and return data from it
- Use console.time (before viewCtrl.dismiss and in Modal.onDismiss) to measure how long it took to return data.
Which Ionic Version? 2.x
Plunker that shows an example of your issue
http://plnkr.co/edit/me3Uk0GKWVRhZWU0usad?p=preview
Run ionic info from terminal/cmd prompt:
Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.7-201605271904
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.3.1 Build version 7D1014