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

[v2 rc0] Uncaught TypeError: Cannot read property 'select' of undefined tabs.js:172 #8294

Closed
okonon opened this issue Sep 29, 2016 · 4 comments
Milestone

Comments

@okonon
Copy link

okonon commented Sep 29, 2016

After rc0 migration i getting below error caused by tabsHighlight: true

Uncaught TypeError: Cannot read property 'select' of undefined tabs.js:172

Add following option to IonicModule.forRoot() and observe above error:

IonicModule.forRoot(MyApp, {
      tabsHighlight: true //<-- throws an error
    })

Here is the compiled code from Chorme console that causing (it i think):

if (_this.tabsHighlight) {
     _this._highlight.select(selectedTab); // <-- error
}

_Info:_

Cordova CLI: 6.3.0
Gulp version:  CLI version 3.9.1
Gulp local:  
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.8.6 
ios-sim version: 5.0.8 
OS: Mac OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 7.3 Build version 7D175 
@okonon
Copy link
Author

okonon commented Sep 29, 2016

linking #8304

@manucorporat
Copy link
Contributor

@okonon fixed!

@joshgarwood
Copy link

Will this be available in RC1?

@manucorporat
Copy link
Contributor

@joshgarwood sure!

@manucorporat manucorporat added this to the 2.0.0-rc.1 milestone Oct 2, 2016
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 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

3 participants