Closed igordmn closed 1 month ago
It would be amazing if ComposeMP had a custom overscroll effect (like in IOS but in other platforms too) and let us customize it. Android overscroll effect is very limited and if you have a lower Android version, the "Stretch overscroll" is not there. In my humble opinion, stretch overscroll should be implemented in all android versions! (i dont know if that possible or not)
Hello!
Is it going to be implemented? It would be nice if we could disable overscroll effect in the Material3 bottom sheets. It's super weird for now.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Android has LocalOverscrollConfiguration that configures Android-style overscroll, and has the
overscrollEffect
argument inModifier.scrollable
Desktop/web don't have overscroll at the moment
iOS has a custom overscroll effect via
CupertinoOverscrollEffect
, and the currentLocalOverscrollConfiguration
isn't applicable for it (it doesn't have glowColor or drawPadding). But sometimes it needs to be configured. For example, we need to configure should we always apply overscroll, or configure the spring effect stiffness. Possible solutions:LocalOverscrollConfiguration
expect/actualLocalOverscrollConfiguration
and provideLocalOverscrollEffect
insteadLocalOverscrollConfiguration
and provideLocalScrollableConfiguration
insteadLocalOverscrollConfiguration
, allow configuration only per-widget basis (LazyList, scrollable)