We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe70d6 commit eeee2bcCopy full SHA for eeee2bc
src/View/Components/Modal.php
@@ -24,13 +24,13 @@ public function render(): View|Closure|string
24
{
25
return <<<'HTML'
26
<dialog
27
- {{ $attributes->class(["modal"]) }}
28
-
+ {{ $attributes->except('wire:model')->class(["modal"]) }}
+
29
@if($id)
30
id="{{ $id }}"
31
@else
32
x-data="{open: @entangle($attributes->wire('model')).live }"
33
- :class="{'modal-open': open}"
+ :class="{'modal-open !animate-none': open}"
34
:open="open"
35
@keydown.escape.window = "$wire.{{ $attributes->wire('model')->value() }} = false"
36
@endif
0 commit comments