#Transition was aborted because of invalid state on mobile devices

1 messages · Page 1 of 1 (latest)

shell folio
#

Do you use Astro islands? React/Shadcn?

copper chasm
#

No, just some plain JS.

shell folio
#

I've seen similar errors (with "skipped" instead of "aborted") when the view transition names had not been unique on a page. What browser do you use on mobile?

copper chasm
#

I'm using Brave which I guess is based on Chromium

#

This happens on Desktop too when I swtich to mobile through devtools.

shell folio
#

I guess there are no errors in the console? If you can share the repo - or a minimal reproduction - I could take a look.

copper chasm
#

I get this error: router.js?v=05696f86:398 Uncaught (in promise) DOMException: Transition was aborted because of invalid state

#

its a private repo, but I could add you with your github username

#

on firefox it does not happen. there is another error 'aborted'. Uncaught (in promise) DOMException: The operation was aborted.

#

only happens when the touch cursor is activated, it makes me think it is something with the event on anchor tags.