Skip to content

Commit 2c23a88

Browse files
committed
fix(frontend): 모달에서 드래그 후 테이블 행 클릭이 발생하는 문제 수정
modal={false} 설정으로 인해 모달 닫힐 때 포커스 복원이 합성 클릭 이벤트를 생성하여 테이블 행의 onClick이 발생하던 문제 modal prop을 true로 변경하여 올바른 포커스 트랩 동작으로 해결 Note: modal={true}로 인해 aria-hidden 관련 콘솔 경고가 발생하나, 기능에는 영향 없어 무시 fix #252
1 parent cb1f4b9 commit 2c23a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/core/dialog/dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function Dialog(props: DialogImplementationProps): JSX.Element {
176176
return (
177177
<DialogRoot
178178
lazyMount
179-
modal={false}
179+
modal
180180
onOpenChange={onClose}
181181
open={open}
182182
scrollBehavior="inside"

0 commit comments

Comments
 (0)