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
16.35k stars 1.18k forks source link

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

Closed wen-flower closed 2 months ago

wen-flower commented 8 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 8 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.

okushnikov commented 4 months ago

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