I found the issue, alpinejs was loaded both from the node module folder and link inside head. Removing the latter fixed the issue. I'll keep the topic in case other people have the same issue
Jun 27, 2022
4
Level 2
Livewire modal freezing page
I'm having a strange error, where closing down a modal freezes the site and throws these errors:
Uncaught (in promise) Object { isFromCancelledTransition: true }
Uncaught (in promise) TypeError: l is not a function - this one is thrown 2x
I'm using Alpinjs and x-show to show / hide my modal. Everything works perfect, apart from the situation when my livewire function saves new model, clears the input boxes and sends showModal = false which freezes the page and throws the errors above
Level 2
3 likes
Please or to participate in this conversation.