모달 배경 클릭 시 닫힘 방지 처리
This commit is contained in:
@@ -1397,8 +1397,8 @@
|
||||
|
||||
{/* 편집 모달 */}
|
||||
{editModalOpen && editingItem && (
|
||||
<div key={`edit-${editingItem.item_type || 'new'}-${editingItem.item_id || 'new'}`} className="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm" onClick={handleCloseModal}>
|
||||
<div className="bg-white rounded-2xl shadow-2xl w-full max-w-md overflow-hidden" onClick={e => e.stopPropagation()}>
|
||||
<div key={`edit-${editingItem.item_type || 'new'}-${editingItem.item_id || 'new'}`} className="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm">
|
||||
<div className="bg-white rounded-2xl shadow-2xl w-full max-w-md overflow-hidden">
|
||||
<div className="p-6 border-b border-slate-100 flex justify-between items-center bg-slate-50">
|
||||
<h3 className="text-xl font-bold text-slate-900 flex items-center gap-2">
|
||||
<LucideIcon name="settings" className="w-5 h-5 text-blue-600" />
|
||||
|
||||
Reference in New Issue
Block a user