You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2022. It is now read-only.
Describe the Bug
Calling navigation setRoot from within resolved custom shimmed Promise, two way data binding is broken on destination page.
When using custom Promise implementation (i used es6-promise), navigating to other page after such promise gets resolved makes two way binding broken.
No errors in console is visible, navigation is actually being made (you get redirected to page) and some bindings works on the page but it looks like the view is not being rendered properly.
Whats interesting is that such case works when you use available Promise implementation (not shim) which seems to be overriden by angular (ZoneAwarePromise).
Steps to Reproduce
Steps to reproduce the behavior:
Create at least two page components
Install some custom shimmed Promise library (i used es6-promise)
Go to created page using setRoot after Promise gets resolved
Original issue by @aszmyd on 2018-06-28T09:13:02Z
Bug Report
Ionic Info
Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Bug
Calling navigation setRoot from within resolved custom shimmed Promise, two way data binding is broken on destination page.
When using custom Promise implementation (i used es6-promise), navigating to other page after such promise gets resolved makes two way binding broken.
No errors in console is visible, navigation is actually being made (you get redirected to page) and some bindings works on the page but it looks like the view is not being rendered properly.
Whats interesting is that such case works when you use available Promise implementation (not shim) which seems to be overriden by angular (
ZoneAwarePromise
).Steps to Reproduce
Steps to reproduce the behavior:
setRoot
after Promise gets resolvedRelated Code
I've created basic example of this: https://github.com/aszmyd/ionic-navigation-promise-binding-issue
Expected Behavior
Binding should always works.
Additional Context
I've captured small video of how its broken: https://github.com/aszmyd/ionic-navigation-promise-binding-issue/raw/master/video.mp4
The text was updated successfully, but these errors were encountered: