진짜 해결했음 진짜진짜로
This commit is contained in:
parent
8603fddbcb
commit
f2ab4f11bd
|
|
@ -1674,7 +1674,11 @@ export const PivotGridComponent: React.FC<PivotGridProps> = ({
|
||||||
className="flex-1 overflow-auto focus:outline-none"
|
className="flex-1 overflow-auto focus:outline-none"
|
||||||
style={{
|
style={{
|
||||||
maxHeight: enableVirtualScroll && containerHeight > 0 ? containerHeight : undefined,
|
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}
|
tabIndex={0}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue