Hey everyone, glad to be here. I am trying to use ...
# multiplatform
k
Hey everyone, glad to be here. I am trying to use Nested LazyColumn in Compose Multiplatform but it always throws an error. I replaced all my Columns with LazyColumn but that didnt solve the issue either. I am an experienced iOS Developer new to KMP. Please let me know if its possible to use Nested LazyColumn or not
Nesting scrollable in the same direction layouts like LazyColumn and Column(Modifier.verticalScroll()) is not allowed.
p
might be better in #compose (there is also #compose-ios and #compose-android but I think your issue is not specific to android or ios)
k
Thanks Philipp i will checkout those channels too. And you are right, the app is crashing in both android as well as iOS.
i have found out that if i provide Fixed height in the nested LazyColumns, then it works fine. But again, is it possible to nest without providing fixed height? As its a lot of calculations