[v2 beta.11] LoadingController broken with Tabs on default Tab
See original GitHub issueSomething broke between 2.0.0-beta.10-201608041720
and 2.0.0-beta.10-201608051404
on the updated LoadingController component.
Steps to reproduce:
- Set a tabs page as root
- Add a Loading component to the default selected tab
- Run
loading.present()
I’m running into this error: EXCEPTION: Error: Uncaught (in promise): TypeError: activeNav.getActive is not a function
. Running through the trace, it looks like Loading can’t figure out the current view. Note that this does not happen with 2.0.0-beta.10-201608041720
the previous version.
Cordova CLI: 6.3.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10-201608051404
Ionic CLI Version: 2.0.0-beta.36
Ionic App Lib Version: 2.0.0-beta.19
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.2.0
Xcode version: Xcode 7.3.1 Build version 7D1014
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:23 (5 by maintainers)
Top Results From Across the Web
Ionic Tabs - Controller of first tab component firing twice
Hello guys. I have a component which has tabs. The default tab's controller sometimes fires twice, depending from where it is called.
Read more >How to Build an Ionic 4 File Explorer
To do so, we can simply create another routing entry which also uses the default page, but with a different path that will...
Read more >Category Command Reference - FlexSim
This command will return the index corresponding to the objects default shape. Example. objectshapecode(so()). objecttexcode (obj object). Deprecated, ...
Read more >Changelog - IE Tab - Run Internet Explorer inside Chrome
Fix a sizing problem when the default Chrome debugger tools are visible. Version 14.4.13.1. Changes: Fix missing copyright information; Sign binary with new ......
Read more >5.6 UniFi Controller Consolidated Change Log
Added warnings count in device status badge. Merged Users and Guests tabs in property panel. Fix default 5G channel width. Fixing load page...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the same issue with beta 11. And this is my workaround:
let loading = this.loadingCtrl.create({ content: 'Please wait...' }); try { loading.present(); } catch (e) { }
I even put the above code in my service class. It won’t launch the loading panel when you fire up your app. But it will as soon as everything settles in.
+1