Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Error when navigating with tabs

$
0
0

I updated all my ionic/ionic-vue packages and now I’m getting the following error in the JS console:
Uncaught (in promise) TypeError: Cannot read property 'tab' of null

That line is:
const activeChild = childNodes.find((child) => child.props.tab === activeTab);

I’m also getting the error when navigating (not by the tab bar):
Uncaught (in promise) TypeError: Cannot read property 'classList' of undefined

Which goes back to this line:
leavingEl.classList.add('ion-page-hidden');

What should I do? Rebuild the tab project from scratch?

I don’t think I’m doing anything weird. I have routes setup so you have to login with Firebase before you see the tab bar. But everything seems to be good with that. Let me know what code I need to share. Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>