MohamedRejeb / Calf

Calf is a library that allows you to easily create adaptive UIs and access platform specific APIs with Compose Multiplatform (Adaptive UI, File Picker, WebView, Permissions...).
https://mohamedrejeb.github.io/Calf/
Apache License 2.0
865 stars 37 forks source link

Nested scrolling and Adaptive Button Sheet not working #37

Open cayolblake opened 9 months ago

cayolblake commented 9 months ago

@MohamedRejeb

Good job with the library.

Using Adaptive Bottom Sheet to hold a WebView doesn't allow vertical scrolling on Android, yet working fine on iOS.

Had to wrap it in a Columb, yet, although a needles layer, it works but if there's a horizontal carousel in the page being rendered by the WebView, it's bumpy and page moves up and down wherever you swipe left and right.

You can reproduce with an Adaptive Bottom Sheet holding a Column holding a WebView set to open URL https://github.com/MohamedRejeb and scroll to the contributions carousel).

cayolblake commented 9 months ago

Any luck 🙄

cayolblake commented 9 months ago

@MohamedRejeb is this repo still active?

MohamedRejeb commented 9 months ago

Hi, Thanks for reporting this issue. I will check it out. Since it's in android so it should be happening as well if you just use jetpack compose for only android, if that is the case then it's an android issue.

cayolblake commented 9 months ago

Thanks.. yes probably it's an Android issue related to communicating scrolling events/data to the nested layer component.