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

Clicks on ScrollBar scroll backward if reverseLayout = true #4539

Closed
avently opened this issue Mar 25, 2024 · 1 comment · Fixed by JetBrains/compose-multiplatform-core#1221
Assignees
Labels
bug Something isn't working reproduced

Comments

@avently
Copy link

avently commented Mar 25, 2024

Describe the bug
Scrolling by mouse works correctly when reverseLayout = true but clicks on scrollbar scroll into opposite direction.

Affected platforms

  • Desktop (Windows, Linux, macOS)

Versions

  • Kotlin version*: 1.9.23
  • Compose Multiplatform version*: 1.6.1
  • OS architecture (x86 or arm64): x86
  • Device (model or simulator for iOS issues): PC

To Reproduce

VerticalScrollbar(
    reverseLayout = true,
    adapter = adapter
}

attach it to LazyColumn and click on free space of scroll bar, it will scroll into opposite direction of LazyColumn.

Expected behavior
It should respect reverseLayout parameter.

@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 reproduced
Projects
None yet
3 participants