JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.33k stars 1.11k forks source link

`Material3.PullToRefresh()` doesn't work with mouse #4436

Open wen-flower opened 4 months ago

wen-flower commented 4 months ago

Describe the bug Version 1.6.0, cannot be refreshed using Material3.PullToRefresh()

Affected platforms

Versions

Additional context Desktop: Nested scrolling is not working properly #653 https://developer.android.com/reference/kotlin/androidx/compose/material3/pulltorefresh/package-summary

MatkovIvan commented 4 months ago

Thanks for reporting this.

It doesn't seem that linked #653 issue or 1.6.0 is really related. #653 is not included to 1.6.0, but even with this fix it will not trigger this logic because it explicitly waits dragging, but scrollable modifier disables dragging for mouse.