Issue with scrolling content inside bottom sheet #2405
Unanswered
IslamRustamov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So what I want to do is to create a bottom sheet with snap points of [60%, 90%], which renders webview inside of it.
I want it to be able to do the next things:
This works great on iOS but there is an issue with Android. Take a look:
IMG_6891.MOV
This is happening because the webview content DOES NOT move together with the bottom sheet (as much as I understood, might be wrong tho), when I still hold my finger on the screen, so upon changing of the snap point it instantly thinks "hey, he already scrolled too far" and changes the snap point again and again and again.
Is there a way to achieve the same behaviour as in iOS? Or do you have other solutions in mind?
The code of the component looks like these:
Beta Was this translation helpful? Give feedback.
All reactions