fix(web): Prevent DELETE key from clearing DateInput in modal (#8846)

* fix(web): Prevent DELETE key from clearing DateInput in modal (#8804)

* chore: test prettier

* fix: stop propagation

* fix: stop propagation in modal

* fix: remove unnecessary function and revise lint issue

* chore: cleanup

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Yoonjae Choi
2024-04-30 06:59:32 +09:00
committed by GitHub
parent 5722c830ff
commit 461f2595b5
3 changed files with 31 additions and 38 deletions

View File

@@ -45,6 +45,7 @@
<FocusTrap>
<section
role="presentation"
in:fade={{ duration: 100 }}
out:fade={{ duration: 100 }}
class="fixed left-0 top-0 z-[9990] flex h-screen w-screen place-content-center place-items-center bg-black/40"