We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v8.x
Cannot read properties of undefined (reading 'classList') TypeError: Cannot read properties of undefined (reading 'classList') at isViewVisible
no error, redirect to dashboard page
const DashboardPage = () => { return ( <IonPage> <IonContent> <IonList> <IonItem routerLink="/non-existing-route/blasss/sss"> <IonLabel>Headers</IonLabel> </IonItem> </IonList> </IonContent> </IonPage> ); }; export const App1 = () => { return ( <IonApp> <IonReactRouter> <IonRouterOutlet> <Route path="/dashboard" component={DashboardPage} /> <Route render={() => <Redirect to="/dashboard" />} /> </IonRouterOutlet> </IonReactRouter> </IonApp> ); };
click on Headers btn
https://stackblitz.com/edit/s31z8pdq?file=src%2Findex.tsx
Ionic:
Ionic CLI : 7.2.0 (/Users/kirylchetyrbak/.nvm/versions/node/v22.2.0/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/react 8.4.0
Capacitor:
Capacitor CLI : 6.1.2 @capacitor/android : 6.2.0 @capacitor/core : 6.2.0 @capacitor/ios : 6.2.0
Utility:
cordova-res : not installed globally native-run : 2.0.1
System:
NodeJS : v22.2.0 (/Users/kirylchetyrbak/.nvm/versions/node/v22.2.0/bin/node) npm : 10.7.0 OS : macOS Unknown
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
Cannot read properties of undefined (reading 'classList')
TypeError: Cannot read properties of undefined (reading 'classList')
at isViewVisible
Expected Behavior
no error, redirect to dashboard page
Steps to Reproduce
click on Headers btn
Code Reproduction URL
https://stackblitz.com/edit/s31z8pdq?file=src%2Findex.tsx
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/Users/kirylchetyrbak/.nvm/versions/node/v22.2.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 8.4.0
Capacitor:
Capacitor CLI : 6.1.2
@capacitor/android : 6.2.0
@capacitor/core : 6.2.0
@capacitor/ios : 6.2.0
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v22.2.0 (/Users/kirylchetyrbak/.nvm/versions/node/v22.2.0/bin/node)
npm : 10.7.0
OS : macOS Unknown
Additional Information
No response
The text was updated successfully, but these errors were encountered: