bug: Cannot set property 'innerText' of null at animateLargeTitle (only iOS | Vue 3)
See original GitHub issueBug Report
Ionic version: [ ] 4.x [x] 5.x
Current behavior:
Getting an error and animation dont play when navigating from one page to another.
It only happens in iOS.
It behaves exactly the same as in issue #22760 only in vue.
Expected behavior: The error shouldn’t happen and animation should be played.
Steps to reproduce: If an example is still needed i can create a stackblitz.
Ionic info:
Ionic:
Ionic CLI : 6.14.1
Ionic Framework : @ionic/vue 5.6.8
Capacitor:
Capacitor CLI : 2.4.7
@capacitor/core : 2.4.7
Utility:
cordova-res : 0.15.3
native-run : 1.3.0
System:
NodeJS : v14.17.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.13
OS : Windows 10
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
bug: Cannot set property 'innerText' of null at ... - GitHub
As mentioned, the error only happens in iOS. The error seems to go away when I add slot="end" to the "IonButtons" component in...
Read more >Cannot set property 'innerText' of null - Stack Overflow
The querySelector() method of the Element interface returns the first element that is a descendant of the element on which it is invoked...
Read more >Uncaught TypeError: cannot set property 'innerHTML' of null
Commonly you see the Uncaught TypeError: cannot set property innerText of null error if you try to access an HTML element on a...
Read more >typeError: Cannot set property 'innerText' of null - WordPress.org
I get JS error: typeError: Cannot set property 'innerText' of null when I try. Tried to disable plugins but didn't help…. The page...
Read more >Cannot set property 'innerHTML' of Null in JavaScript
The "Cannot set property 'innerHTML' of null" error occurs for 2 reasons: Setting the innerHTML property on a null value (DOM element that...
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 FreeTop 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
Top GitHub Comments
Thanks! The problem is you have your collapsible large title configured incorrectly. It should look something like this:
Making this change resolved the issue on my end. For more information please see the Collapsible Large Titles docs.
Thanks for the issue. Can you reproduce this in an Ionic starter app and provide a link to the repo?