복사된 셀 표시
This commit is contained in:
parent
6a1343b847
commit
f33d989202
|
|
@ -104,9 +104,6 @@ export const EditableSpreadsheet: React.FC<EditableSpreadsheetProps> = ({
|
|||
});
|
||||
setIsDraggingSelection(true);
|
||||
|
||||
// 복사 범위 초기화 (새로운 선택 시작하면 이전 복사 표시 제거)
|
||||
setCopiedRange(null);
|
||||
|
||||
// 테이블에 포커스 (키보드 이벤트 수신용)
|
||||
tableRef.current?.focus();
|
||||
}, [editingCell]);
|
||||
|
|
@ -532,6 +529,9 @@ export const EditableSpreadsheet: React.FC<EditableSpreadsheetProps> = ({
|
|||
if (isInputFocused) return;
|
||||
e.preventDefault();
|
||||
handleDelete();
|
||||
} else if (e.key === "Escape") {
|
||||
// Esc로 복사 범위 표시 취소
|
||||
setCopiedRange(null);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue