We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Box { val state = rememberLazyListState() val itemCount = 100 val itemHeight = 20.dp LazyColumn(state = state, reverseLayout = true) { items((1..itemCount).toList()) { x -> Text(x.toString(), Modifier.graphicsLayer(alpha = 0.5f).height(itemHeight)) } } VerticalScrollbar( rememberScrollbarAdapter(state, itemCount, itemHeight), Modifier.align(Alignment.CenterEnd) ) }
For now (0.3.0-build136) scrollbar in this case doesn't work as expected.
The text was updated successfully, but these errors were encountered:
Desktop: support reverseLayout for Scrollbars
64a7689
Fixes JetBrains/compose-multiplatform#209 ``` Box(Modifier.width(200.dp)) { val state = rememberLazyListState() val itemCount = 100 val itemHeight = 20.dp LazyColumn(Modifier.fillMaxWidth(), state = state, reverseLayout = true) { items((1..itemCount).toList()) { x -> Text(x.toString(), Modifier.graphicsLayer(alpha = 0.5f).height(itemHeight)) } } VerticalScrollbar( rememberScrollbarAdapter(state, itemCount, itemHeight), Modifier.align(Alignment.CenterEnd), reverseLayout = true, ) } ``` Test: ./gradlew jvmTest desktopTest -Pandroidx.compose.multiplatformEnabled=true Test: manual see code above Change-Id: I2b6c0d793b0e62c490948f2fbbd9bf3e14230b8d
Fixed in 0.4.0-build210 0.4.0-build211.
Added a parameter reverseLayout to VerticalScrollbar/HorizontalScrollbar
reverseLayout
VerticalScrollbar
HorizontalScrollbar
Sorry, something went wrong.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
igordmn
No branches or pull requests
For now (0.3.0-build136) scrollbar in this case doesn't work as expected.
The text was updated successfully, but these errors were encountered: