hi , is there something like LocalOverscrollConfig...
# compose-ios
l
hi , is there something like LocalOverscrollConfiguration in compose multiplatform for ios?
a
We try to replicate the native iOS overscroll, so no. What would you like to configure in it?
l
We try to replicate the native iOS overscroll
Did you succeed in it, or is it almost the same, but not exactly?
a
@Vladimir Mazunin ?
m
@louiscad I’m using Android and iOS simulator side by side while development. From my view, it looks right. Android has its specific effect and iOS has the correct animation too. Only thing that is not yet 100%, on iOS when i try to fling a long list, it often times instead tries to click on a list item, instead of quickly scrolling the list.
👍 1
l
Interesting. Might not take into account the touch slop on the iOS side.
v
Did you succeed in it, or is it almost the same, but not exactly?
Not exactly. There are still may be differences, but in most cases it behaves like native
l
Can't you use an off-screen UIKit scrollable element, simulate touch events on it, and get translation values from it to apply to the Compose side, without having to embed the Composable content into a nested UIKit element?
m
I want to add: it works a lot of times great, the fling scroll. Maybe the “getting stuck” is due to iPhone simulator. Currently not testing on a real device. Will update here once i tested