Remove placeholder min-height fallback
This commit is contained in:
@@ -274,7 +274,6 @@ export default function VirtualItem(props: VirtualItemProps) {
|
|||||||
style={{
|
style={{
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: shouldHideContent() ? `${placeholderHeight()}px` : undefined,
|
height: shouldHideContent() ? `${placeholderHeight()}px` : undefined,
|
||||||
"min-height": hasMeasured() ? undefined : `${props.minPlaceholderHeight ?? MIN_PLACEHOLDER_HEIGHT}px`,
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div ref={setContentRef} class={contentClass()}>
|
<div ref={setContentRef} class={contentClass()}>
|
||||||
|
|||||||
Reference in New Issue
Block a user