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 1af5647 commit cacff22Copy full SHA for cacff22
1 file changed
resources/views/modal.blade.php
@@ -9,7 +9,7 @@
9
<div
10
x-data="LivewireUIModal()"
11
x-on:close.stop="setShowPropertyTo(false)"
12
- x-on:keydown.escape.window="closeModalOnEscape()"
+ x-on:keydown.escape.window="show && closeModalOnEscape()"
13
x-show="show"
14
class="fixed inset-0 z-10 overflow-y-auto"
15
style="display: none;"
0 commit comments