compose-menu icon indicating copy to clipboard operation
compose-menu copied to clipboard

Fix Auto hide Thumb issue #25

Open racka98 opened this issue 1 year ago • 1 comments

This adds isDraggingList as a parameter for the LaunchedEffect responsible for hiding the scrollbar. It should have no effect on performance, and it fixes issue #25

Still not sure about the isHover logic for showing the scrollbar as I can't get the scrollbar to show when hovering over the list on the emulator.

racka98 avatar Oct 08 '24 14:10 racka98

Thank you for opening this PR. I will have a look asap

as I can't get the scrollbar to show when hovering over the list on the emulator.

You can run the code in your computer (desktop app) but running ./gradlew demo-scrollarea:run. There should also be a configuration available in the project already to try out.

alexstyl avatar Oct 08 '24 15:10 alexstyl

@racka98 did you test your code on desktop?

alexstyl avatar Oct 14 '24 15:10 alexstyl

@alexstyl just tested on desktop. The same issue was still persistent. I have updated the PR with a solution that works on both desktop and android. Moved the code for showing the the scroll bar and hiding it into a single LaunchedEffect.

racka98 avatar Oct 14 '24 15:10 racka98

Thanks for the contribution. It works great :)

Merging this

alexstyl avatar Oct 14 '24 15:10 alexstyl