Hi, first time messager here, I am having some issues with scrolling on iOS:
I have a LazyColumn, I am passing it a nested scroll connection. My objective is to detect a fling and simply center the next element in the list instead of allowing the user to fling past multiple posts (as they can even with flingBehavior set).
In my onPreFling, I am calling listState.animateScrollBy which on Android works perfectly, cancels any existing scroll and scrolls to the next. On iOS scrollBy is throwing an error saying "mutation interrupted". I have tried all the scroll functions, they all throw.
Does anyone have any experience with this, is there a better approach to take?