NativeScript / sample-Groceries

:green_apple: :pineapple: :strawberry: A NativeScript-built iOS and Android app for managing grocery lists
Apache License 2.0
486 stars 343 forks source link

Animation cancelled error when going from list page to login page #132

Open fdnhkj opened 8 years ago

fdnhkj commented 8 years ago

Hello,

I recently did the tutorial Building Apps with NativeScript and Angular 2. During the tutorial, I noticed an error message in console while running the app. Then, I cloned this repo and got the same message.

It happens on iOS only when navigating from the list page back to the login page using the iOS gesture (see gif below). animationcancelled

Sep 3 16:01:49 MacBook-Pro-de-Fidan groceries[1991]: CONSOLE ERROR file:///app/tns_modules/zone.js/dist/zone-node.js:442:27: Unhandled Promise rejection: Animation cancelled. ; Zone: ; Task: Promise.then ; Value: Error: Animation cancelled. _rejectAnimationFinishedPromise@file:///app/tns_modules/ui/animation/animation-common.js:110:31 animationFinishedCallback@file:///app/tns_modules/ui/animation/animation.js:115:57 animationDidStopFinished@file:///app/tns_modules/ui/animation/animation.js:67:35 UIApplicationMain@[native code] start@file:///app/tns_modules/application/application.js:233:26 nativeScriptBootstrap@file:///app/tns_modules/nativescript-angular/application.js:144:22 anonymous@file:///app/main.js:9:36 evaluate@[native code] moduleEvaluation@[native code] [native code] promiseReactionJob@[native code]

Any idea why I get this error ? Thank you

alterx commented 8 years ago

Hey @fdnhkj , there's some discussion about this here https://github.com/NativeScript/nativescript-angular/issues/431