@ldebeasi Getting a common problem when navigating from one screen to another in my Ionic Vue project. Occasionally, I’ll get the error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'classList')
Which points to at x (index.esm.js:1072)
:
leavingEl.classList.add('ion-page-hidden');
Full stack trace:
x @ index.esm.js:1072
async function (async)
x @ index.esm.js:1071
V @ index.esm.js:1134
(anonymous) @ index.esm.js:938
Oe @ runtime-core.esm-bundler.js:154
Ze @ runtime-core.esm-bundler.js:163
z @ runtime-core.esm-bundler.js:2032
oa @ runtime-core.esm-bundler.js:329
ha @ runtime-core.esm-bundler.js:370
Promise.then (async)
ta @ runtime-core.esm-bundler.js:286
na @ runtime-core.esm-bundler.js:308
ia @ runtime-core.esm-bundler.js:311
M @ runtime-core.esm-bundler.js:2060
v @ reactivity.esm-bundler.js:183
y @ reactivity.esm-bundler.js:189
scheduler @ reactivity.esm-bundler.js:854
v @ reactivity.esm-bundler.js:183
y @ reactivity.esm-bundler.js:189
set value @ reactivity.esm-bundler.js:764
F @ vue-router.esm-bundler.js:3133
(anonymous) @ vue-router.esm-bundler.js:3187
Promise.then (async)
(anonymous) @ vue-router.esm-bundler.js:3184
(anonymous) @ vue-router.esm-bundler.js:441
o @ vue-router.esm-bundler.js:440
This is all within the handlePageTransition
method. Any ideas what is happening? I find that the transitions in my app are jittery sometimes but not sure it’s directly related to this.
6 posts - 3 participants