joelkanyi / Muviz

A Jetpack compose app that consumes the TMDB API to display movie and Tv shows and their details
205 stars 30 forks source link

Vertically scrollable component was measured with an infinity maximum height constraints #29

Closed tenSunFree closed 2 years ago

tenSunFree commented 2 years ago

Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed. One of the common reasons is nesting layouts like LazyColumn and Column(Modifier.verticalScroll()).

0001

You can try removing verticalScroll(), because LazyColumn already provides scrolling.

0002
joelkanyi commented 2 years ago

Thank you @tenSunFree, which screen is this?

joelkanyi commented 2 years ago

Hello @tenSunFree, I removed this feature for now, that version of code that you have is not the current one. Please update

tenSunFree commented 2 years ago

I understand, but I think the previous "See more" feature is pretty good, thank you.

joelkanyi commented 2 years ago

Cool, can you work on it then send a PR, I'll appreciate 😊

tenSunFree commented 2 years ago

A PR has been sent, maybe you can refer to it.

joelkanyi commented 2 years ago

Done

sharjeelmuzaffar commented 1 year ago

can u please help me out with this error?

HariAgus commented 11 months ago

@sharjeelmuzaffar Hi, maybe you can try like this :

Modifier
    .verticalScroll(scrollState)
    .height(IntrinsicSize.Max)