From de2ac5a2860bc25180971e7a11f852d9d44675b7 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 6 Aug 2025 04:23:40 +0000
Subject: (대표님) 정기평가, 법적검토, 정책, 가입관련 처리 및 관련 컴포넌트
 추가, 메뉴 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../table/evaluation-target-table.tsx                     | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

(limited to 'lib/evaluation-target-list/table/evaluation-target-table.tsx')

diff --git a/lib/evaluation-target-list/table/evaluation-target-table.tsx b/lib/evaluation-target-list/table/evaluation-target-table.tsx
index 9cc73003..9ca66acb 100644
--- a/lib/evaluation-target-list/table/evaluation-target-table.tsx
+++ b/lib/evaluation-target-list/table/evaluation-target-table.tsx
@@ -362,11 +362,16 @@ export function EvaluationTargetsTable({ promises, evaluationYear, className }:
 
   const updateContainerBounds = React.useCallback(() => {
     if (containerRef.current) {
-      const rect = containerRef.current.getBoundingClientRect();
-      setContainerTop(rect.top);
+      const rect = containerRef.current.getBoundingClientRect()
+      const newTop = rect.top
+      setContainerTop(prevTop => {
+        if (Math.abs(prevTop - newTop) > 1) {  // 1px 이상 차이날 때만 업데이트
+          return newTop
+        }
+        return prevTop
+      })
     }
-  }, []);
-
+  }, [])
   React.useEffect(() => {
     updateContainerBounds();
     
@@ -439,6 +444,8 @@ export function EvaluationTargetsTable({ promises, evaluationYear, className }:
     initialSettings
   );
 
+  
+
   /* --------------------- 컬럼 ------------------------------ */
   const columns = React.useMemo(() => getEvaluationTargetsColumns({ setRowAction }), [setRowAction]);
 
-- 
cgit v1.2.3

