Somewhat related to another post I made about seeing strange errors like:
Uncaught (in promise) TypeError: Cannot read property 'tab' of null
I found that if I HTML comment out a <!--ion-tab-button-->
within a <ion-tab-bar>
it causes that error when navigating to anything to the right off that navigation item. When I look at the array returned by childNodes
on the line const activeChild = childNodes.find((child) => child.props.tab === activeTab);
it has more items in it than it should!
1 post - 1 participant