Remove placeholder min-height fallback

This commit is contained in:
Shantur Rathore
2025-12-02 12:07:43 +00:00
parent d07c2ec4a9
commit 7fde8afcf0

View File

@@ -274,7 +274,6 @@ export default function VirtualItem(props: VirtualItemProps) {
style={{
width: "100%",
height: shouldHideContent() ? `${placeholderHeight()}px` : undefined,
"min-height": hasMeasured() ? undefined : `${props.minPlaceholderHeight ?? MIN_PLACEHOLDER_HEIGHT}px`,
}}
>
<div ref={setContentRef} class={contentClass()}>