오라클 제어 수정

This commit is contained in:
kjs
2025-10-01 17:36:17 +09:00
parent 852075c799
commit b452f148a9
2 changed files with 70 additions and 64 deletions

View File

@@ -51,7 +51,7 @@ export const EditModal: React.FC<EditModalProps> = ({
console.log(`🎯 계산된 모달 크기: ${maxWidth}px x ${maxHeight}px`);
console.log(
`📍 컴포넌트 위치들:`,
"📍 컴포넌트 위치들:",
components.map((c) => ({ x: c.position?.x, y: c.position?.y, w: c.size?.width, h: c.size?.height })),
);
return { width: maxWidth, height: maxHeight };
@@ -85,7 +85,7 @@ export const EditModal: React.FC<EditModalProps> = ({
// 스크롤 완전 제거
if (modalContent) {
modalContent.style.overflow = "hidden";
console.log(`🚫 스크롤 완전 비활성화`);
console.log("🚫 스크롤 완전 비활성화");
}
}, 100); // 100ms 지연으로 렌더링 완료 후 실행
}
@@ -152,7 +152,7 @@ export const EditModal: React.FC<EditModalProps> = ({
// 코드 타입인 경우 특별히 로깅
if ((comp as any).widgetType === "code") {
console.log(` 🔍 코드 타입 세부정보:`, {
console.log(" 🔍 코드 타입 세부정보:", {
columnName: comp.columnName,
componentId: comp.id,
formValue,
@@ -281,7 +281,7 @@ export const EditModal: React.FC<EditModalProps> = ({
left: component.position?.x || 0,
width: component.size?.width || 200,
height: component.size?.height || 40,
zIndex: component.position?.z || (1000 + index), // 모달 내부에서 충분히 높은 z-index
zIndex: component.position?.z || 1000 + index, // 모달 내부에서 충분히 높은 z-index
}}
>
{/* 위젯 컴포넌트는 InteractiveScreenViewer 사용 (라벨 표시) */}