diff --git a/litho-widget/src/main/java/com/facebook/litho/widget/ExperimentalVerticalScroll.kt b/litho-widget/src/main/java/com/facebook/litho/widget/ExperimentalVerticalScroll.kt index 4686ef175c..73829736ec 100644 --- a/litho-widget/src/main/java/com/facebook/litho/widget/ExperimentalVerticalScroll.kt +++ b/litho-widget/src/main/java/com/facebook/litho/widget/ExperimentalVerticalScroll.kt @@ -207,7 +207,7 @@ internal class VerticalScrollLayoutBehavior( } sizeConstraints.copy( minHeight = height, - maxHeight = SizeConstraints.Infinity, + maxHeight = sizeConstraints.maxHeight, ) } } else {