Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]RC4 When set the opt {dismissOnPageChange:true} to LoadingController has An ERROR #9659

Closed
fssgh opened this issue Dec 16, 2016 · 10 comments

Comments

@fssgh
Copy link

fssgh commented Dec 16, 2016

Ionic version: (check one with "x")
[ ] 1.x
[X ] 2.x
Code:-------------------------------------------------------------------
doLoad() {
let loading = this.loadingCtrl.create({
content: 'loading...',
dismissOnPageChange:true,//Error source
duration: 15000
});
loading.present();
}
ERROR:-------------------------------------------------------------------------------------------
Error: Uncaught (in promise): false
at s (http://localhost:8100/build/polyfills.js:3:4211)
at s (http://localhost:8100/build/polyfills.js:3:4034)
at http://localhost:8100/build/polyfills.js:3:4574
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9723)
at Object.NgZone.forkInnerZoneWithAngularBehavior.inner.inner.fork.onInvokeTask (http://localhost:8100/build/main.js:75544:37)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9659)
at e.runTask (http://localhost:8100/build/polyfills.js:3:7083)
at i (http://localhost:8100/build/polyfills.js:3:3671)
at HTMLElement.a.invoke (http://localhost:8100/build/polyfills.js:3:10876)


Ionic Framework: 2.0.0-rc.4
Ionic Native: 2.2.11
Ionic App Scripts: 0.0.47
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 6.9.1
OS Platform: Windows 8.1
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

@infinnie
Copy link

The problem I’ve just run into.

@kesozjura
Copy link

@fssgh How did you find source of the error from that stack trace?? I have had the same error, but I was not able to find the source of it.

@infinnie
Copy link

@kesozjura I guess by his or her adding a control group.

@pufanalexandru
Copy link

Had the same error too, after updating to RC4

@janein
Copy link

janein commented Dec 16, 2016

Same error, even without setting dismissOnPageChange:true option. Breaks my app on the device, browser keeps working.

@iliagerman
Copy link

any ideas how to fix this?

@fssgh
Copy link
Author

fssgh commented Dec 16, 2016

@iliagerman I don't know ! Do not use {dismissOnPageChange:true} temporarily

@mebibou
Copy link

mebibou commented Dec 20, 2016

same issue with Toast component with dismissOnPageChange: true since RC4

@jgw96
Copy link
Contributor

jgw96 commented Dec 21, 2016

Hello all! Thanks for opening an issue with us. Happy to announce that this was part of the rc5 milestone and has already been fixed. You can check out this issue #9589 for more info on it and a link to the fix.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 5, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants