260714_03_ENH: 로딩 오버레이에 클릭 관련 이벤트 막음

This commit is contained in:
2026-07-14 17:12:05 +09:00
parent f7e619d030
commit 67a01262b3
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "kri-ui-registry",
"version": "0.7.0",
"version": "0.8.0",
"private": true,
"description": "KRI internal shadcn UI registry",
"scripts": {

View File

@@ -18,6 +18,9 @@ export function KriLoadingOverlay({ open, label = '로딩 중', className, spinn
aria-live="polite"
aria-label={label}
className={cn('fixed inset-0 z-[9999] flex items-center justify-center bg-black/70', className)}
onPointerDown={(e) => e.stopPropagation()}
onMouseDown={(e) => e.stopPropagation()}
onClick={(e) => e.stopPropagation()}
>
<div className={cn('size-12 animate-spin rounded-full border-4 border-gray-400 border-t-white', spinnerClassName)} />
<span className="sr-only">{label}</span>