feat: 정보 조회·수정·생성 모달은 바깥을 눌러도 닫히지 않는다
폼이 든 모달이 바깥 클릭으로 닫히면 적어 둔 값이 통째로 사라진다. 조회 모달도 표를 훑다 여백을 눌러 닫히는 일이 잦다. 알림·확인(feedback-host)과 중복 로그인 안내는 그대로 뒀다 — 읽고 넘기는 자리라 바깥 클릭이 곧 취소다. Co-Authored-By: Claude Opus 5
@73a4cb448c5eedc2bb58afc8a3ad3091b56a2048
--- app/(protected)/(basic)/admins/_components/admin-member-create-modal.tsx
+++ app/(protected)/(basic)/admins/_components/admin-member-create-modal.tsx
... | ... | @@ -108,6 +108,7 @@ |
| 108 | 108 |
|
| 109 | 109 |
return ( |
| 110 | 110 |
<FoxModal |
| 111 |
+ dismissible={false}
|
|
| 111 | 112 |
open |
| 112 | 113 |
onClose={onClose}
|
| 113 | 114 |
size="sm" |
--- app/(protected)/(basic)/admins/_components/admin-member-edit-modal.tsx
+++ app/(protected)/(basic)/admins/_components/admin-member-edit-modal.tsx
... | ... | @@ -62,6 +62,7 @@ |
| 62 | 62 |
|
| 63 | 63 |
return ( |
| 64 | 64 |
<FoxModal |
| 65 |
+ dismissible={false}
|
|
| 65 | 66 |
open |
| 66 | 67 |
onClose={onClose}
|
| 67 | 68 |
size="sm" |
--- app/(protected)/(basic)/boards/_components/board-post-form-modal.tsx
+++ app/(protected)/(basic)/boards/_components/board-post-form-modal.tsx
... | ... | @@ -90,6 +90,7 @@ |
| 90 | 90 |
|
| 91 | 91 |
return ( |
| 92 | 92 |
<FoxModal |
| 93 |
+ dismissible={false}
|
|
| 93 | 94 |
open |
| 94 | 95 |
size="md" |
| 95 | 96 |
title={`${BOARD_TITLES[boardType]} ${isCreate ? '신규 등록' : '수정'}`}
|
--- app/(protected)/(basic)/boards/inquiries/_components/inquiry-answer-modal.tsx
+++ app/(protected)/(basic)/boards/inquiries/_components/inquiry-answer-modal.tsx
... | ... | @@ -63,6 +63,7 @@ |
| 63 | 63 |
|
| 64 | 64 |
return ( |
| 65 | 65 |
<FoxModal |
| 66 |
+ dismissible={false}
|
|
| 66 | 67 |
open |
| 67 | 68 |
size="md" |
| 68 | 69 |
title="1:1문의 상세 및 답변" |
--- app/(protected)/(basic)/decoration-items/_components/decoration-item-create-modal.tsx
+++ app/(protected)/(basic)/decoration-items/_components/decoration-item-create-modal.tsx
... | ... | @@ -57,6 +57,7 @@ |
| 57 | 57 |
|
| 58 | 58 |
return ( |
| 59 | 59 |
<FoxModal |
| 60 |
+ dismissible={false}
|
|
| 60 | 61 |
open |
| 61 | 62 |
size="sm" |
| 62 | 63 |
title="꾸미기 아이템 등록" |
--- app/(protected)/(basic)/decoration-items/_components/decoration-item-edit-modal.tsx
+++ app/(protected)/(basic)/decoration-items/_components/decoration-item-edit-modal.tsx
... | ... | @@ -53,6 +53,7 @@ |
| 53 | 53 |
|
| 54 | 54 |
return ( |
| 55 | 55 |
<FoxModal |
| 56 |
+ dismissible={false}
|
|
| 56 | 57 |
open |
| 57 | 58 |
size="sm" |
| 58 | 59 |
title="꾸미기 아이템 수정" |
--- app/(protected)/(basic)/points/accumulated/_components/point-detail-modal.tsx
+++ app/(protected)/(basic)/points/accumulated/_components/point-detail-modal.tsx
... | ... | @@ -66,7 +66,7 @@ |
| 66 | 66 |
]; |
| 67 | 67 |
|
| 68 | 68 |
return ( |
| 69 |
- <FoxModal open size="lg" title="포인트 상세내역" onClose={onClose}>
|
|
| 69 |
+ <FoxModal open dismissible={false} size="lg" title="포인트 상세내역" onClose={onClose}>
|
|
| 70 | 70 |
<div className={styles.body}>
|
| 71 | 71 |
<FoxTable type="list" caption="회원정보"> |
| 72 | 72 |
<FoxTableRow head> |
--- app/(protected)/(basic)/points/standards/_components/point-standard-form-modal.tsx
+++ app/(protected)/(basic)/points/standards/_components/point-standard-form-modal.tsx
... | ... | @@ -67,6 +67,7 @@ |
| 67 | 67 |
|
| 68 | 68 |
return ( |
| 69 | 69 |
<FoxModal |
| 70 |
+ dismissible={false}
|
|
| 70 | 71 |
open |
| 71 | 72 |
size="md" |
| 72 | 73 |
title={isCreate ? '등록' : '수정'}
|
--- app/(protected)/(basic)/students/_components/student-detail-modal.tsx
+++ app/(protected)/(basic)/students/_components/student-detail-modal.tsx
... | ... | @@ -123,6 +123,7 @@ |
| 123 | 123 |
|
| 124 | 124 |
return ( |
| 125 | 125 |
<FoxModal |
| 126 |
+ dismissible={false}
|
|
| 126 | 127 |
open |
| 127 | 128 |
size="sm" |
| 128 | 129 |
title="학생 회원 조회" |
--- app/(protected)/(basic)/system/banned-words/_components/banned-word-excel-modal.tsx
+++ app/(protected)/(basic)/system/banned-words/_components/banned-word-excel-modal.tsx
... | ... | @@ -51,6 +51,7 @@ |
| 51 | 51 |
|
| 52 | 52 |
return ( |
| 53 | 53 |
<FoxModal |
| 54 |
+ dismissible={false}
|
|
| 54 | 55 |
open |
| 55 | 56 |
size="md" |
| 56 | 57 |
title="엑셀등록" |
--- app/(protected)/(basic)/system/codes/_components/code-detail-modal.tsx
+++ app/(protected)/(basic)/system/codes/_components/code-detail-modal.tsx
... | ... | @@ -60,6 +60,7 @@ |
| 60 | 60 |
|
| 61 | 61 |
return ( |
| 62 | 62 |
<FoxModal |
| 63 |
+ dismissible={false}
|
|
| 63 | 64 |
open |
| 64 | 65 |
size="sm" |
| 65 | 66 |
title={isEdit ? '상세코드 수정' : '상세코드 등록'}
|
--- app/(protected)/(basic)/system/codes/_components/code-group-modal.tsx
+++ app/(protected)/(basic)/system/codes/_components/code-group-modal.tsx
... | ... | @@ -51,6 +51,7 @@ |
| 51 | 51 |
|
| 52 | 52 |
return ( |
| 53 | 53 |
<FoxModal |
| 54 |
+ dismissible={false}
|
|
| 54 | 55 |
open |
| 55 | 56 |
size="sm" |
| 56 | 57 |
title={isEdit ? '공통코드 수정' : '공통코드 등록'}
|
--- app/(protected)/(basic)/system/merchants/_components/merchant-form-modal.tsx
+++ app/(protected)/(basic)/system/merchants/_components/merchant-form-modal.tsx
... | ... | @@ -115,6 +115,7 @@ |
| 115 | 115 |
|
| 116 | 116 |
return ( |
| 117 | 117 |
<FoxModal |
| 118 |
+ dismissible={false}
|
|
| 118 | 119 |
open |
| 119 | 120 |
size="md" |
| 120 | 121 |
title={isReadOnly ? '가맹점 정보' : isEdit ? '가맹점 수정' : '가맹점 등록'}
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?