lhj #372

Merged
hjlee merged 5 commits from lhj into main 2026-01-19 17:26:06 +09:00
1 changed files with 5 additions and 1 deletions
Showing only changes of commit f2ab4f11bd - Show all commits

View File

@ -1674,7 +1674,11 @@ export const PivotGridComponent: React.FC<PivotGridProps> = ({
className="flex-1 overflow-auto focus:outline-none"
style={{
maxHeight: enableVirtualScroll && containerHeight > 0 ? containerHeight : undefined,
minHeight: 100 // 최소 높이 보장 - 블라인드 효과 방지
// 최소 200px 보장 + 데이터에 맞게 조정 (최대 400px)
minHeight: Math.max(
200, // 절대 최소값 - 블라인드 효과 방지
Math.min(400, (sortedFlatRows.length + 3) * ROW_HEIGHT + 50)
)
}}
tabIndex={0}
onKeyDown={handleKeyDown}