ste
10/08/2022, 2:29 PMnestedScroll to detect whether a child ScrollState reaches the top, so I can forward the deltas to the parent's DraggableState (see video). However, the android 12 stretch overscroll effect seems to use the available deltas (which is expected to perform the animation), but it also consumes them, and it causes my nestedScroll onPreScroll available parameter to be very close to zero.
How can I tell the overscroll effect to not the deltas?
(the first clip is how it looks like without the overscroll effect)ste
10/08/2022, 2:38 PMoverscrollEffect was exposed as a parameter in both scroll Modifier and LazyList (like flingBehavior)ste
10/08/2022, 2:39 PMAlbert Chang
10/08/2022, 2:54 PMModalBottomSheetLayout has similar effect and it works well on Android 12+.Albert Chang
10/08/2022, 2:59 PMNestedScrollConnection should be the same as this.ste
10/08/2022, 3:00 PMste
10/08/2022, 3:33 PMonPostScroll was faulty 🙂ste
10/08/2022, 4:42 PM