Skip to content

Commit 0b5d22e

Browse files
committed
Prevent livewire update to reset the open state
1 parent edafe08 commit 0b5d22e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/views/components/dialog/content.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<dialog
2+
wire:ignore.self
23
x-effect="dialogOpen ? $el.showModal() : $el.close()"
34
x-on:close.stop="dialogOpen = false"
45
x-on:cancel.stop="dialogOpen = false"

0 commit comments

Comments
 (0)