Skip to content
New issue

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

Crash of vertical scroll if used improper way #1616

Open
akurasov opened this issue Dec 17, 2021 · 1 comment
Open

Crash of vertical scroll if used improper way #1616

akurasov opened this issue Dec 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working crash desktop

Comments

@akurasov
Copy link
Contributor

The code below crashes. It is not correct, but should not crash this way IMO.

val listState = rememberScrollState()
Box(
    modifier = Modifier
        .fillMaxSize()
        .verticalScroll(state = listState) //this is the issue, it should be on the same level as VerticalScrollbar
) {
    VerticalScrollbar(
        adapter = rememberScrollbarAdapter(listState),
        modifier = Modifier
            .align(Alignment.CenterEnd)
            .fillMaxHeight(),
    )
}
@akurasov akurasov added this to the 1.0.1 milestone Dec 17, 2021
@akurasov akurasov added bug Something isn't working crash desktop labels Dec 17, 2021
@akurasov akurasov modified the milestones: 1.0.1, 1.1 Jan 11, 2022
@akurasov akurasov modified the milestones: 1.1, 1.2 Feb 15, 2022
@igordmn igordmn removed this from the 1.2 milestone May 26, 2022
@okushnikov
Copy link

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash desktop
Projects
None yet
Development

No branches or pull requests

3 participants