Skip to content

Commit 358f657

Browse files
committed
chore: Refactor modal-confirmation component
1 parent de0f347 commit 358f657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/components/modal-confirmation.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ class="relative w-auto h-auto">
151151
@endif
152152
@endif
153153
<template x-teleport="body">
154-
<div x-show="modalOpen" @click.away="modalOpen = false; resetModal()"
154+
<div x-show="modalOpen"
155155
class="fixed top-0 lg:pt-10 left-0 z-[99] flex items-start justify-center w-screen h-screen" x-cloak>
156-
<div x-show="modalOpen" @click="modalOpen = false; resetModal()"
156+
<div x-show="modalOpen"
157157
class="absolute inset-0 w-full h-full bg-black bg-opacity-20 backdrop-blur-sm"></div>
158158
<div x-show="modalOpen" x-trap.inert.noscroll="modalOpen" x-transition:enter="ease-out duration-100"
159159
x-transition:enter-start="opacity-0 -translate-y-2 sm:scale-95"

0 commit comments

Comments
 (0)