diff --git a/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt b/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt index 159a613..aaaa4bd 100644 --- a/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt +++ b/bento-compose/src/main/java/com/yelp/android/bento/compose/ComposeViewHolder.kt @@ -34,6 +34,10 @@ abstract class ComposeViewHolder : ComponentViewHolder() { element = element ?: return@setContent ) } + layoutParams = ViewGroup.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, + ViewGroup.LayoutParams.MATCH_PARENT + ) } return composeView }