kiwicom / orbit-compose

Android Jetpack Compose components of open-source Orbit design system by Kiwi.com.
https://orbit.kiwi
MIT License
134 stars 19 forks source link

Fix the min height that is supplied to layouting of scrollbehaviour of TopAppBar #651

Closed shanio closed 2 months ago

shanio commented 2 months ago

https://kiwicom.sentry.io/issues/5066316319/?project=5958448&referrer=jira_integration

java.lang.IllegalStateException: Size(1080 x -16) is out of range. Each dimension must be between 0 and 16777215. at androidx.compose.ui.node.LookaheadCapablePlaceable.layout(LookaheadDelegate.kt:120) at androidx.compose.ui.layout.MeasureScope.layout$default(MeasureScope.kt:44) at kiwi.orbit.compose.ui.controls.TopAppBarKt$scrollBehaviorLayout$1.invoke-3p2s80s(TopAppBar.kt:186) at kiwi.orbit.compose.ui.controls.TopAppBarKt$scrollBehaviorLayout$1.invoke(TopAppBar.kt:179)