- handleCloseModal(index) -> handleCloseTopModal()로 변경 (최상위 1개만 닫기) - onOpenChange에 isTopModal 가드 추가 (하위 모달 연쇄 반응 방지) - onInteractOutside/onEscapeKeyDown에 isTopModal 가드 추가 Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| PopViewerWithModals.tsx | ||