lhj #372
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue