Replies: 4 comments 1 reply
-
I had the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
php artisan vendor:publish --tag=livewire-ui-modal-config in any js file:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I am also facing same issue. Kindly help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ran into this today. I solved by setting init() {
setTimeout( () => {
this.modalWidth = this.getActiveComponentModalAttribute('maxWidthClass');
Livewire.on('closeModal', (force = false, skipPreviousModals = 0, destroySkipped = false) => {
this.closeModal(force, skipPreviousModals, destroySkipped);
});
Livewire.on('activeModalComponentChanged', (id) => {
this.setActiveModalComponent(id);
});
}, 0);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This package doesn't work with turbolinks enabled because I keep getting
Uncaught TypeError: Livewire.on is not a function
. I tried out a similar package https://github.com/lao9s/livewire-modal-twitter, and it works fine with turbolinks. Any fix?Beta Was this translation helpful? Give feedback.
All reactions