Don't bounce full screen screenshots

This commit is contained in:
Torsten Grote
2026-02-09 09:52:55 -03:00
parent bee17cf851
commit e3b56c5257

View File

@@ -97,7 +97,9 @@ private fun Screenshots(phoneScreenshots: List<Any>) {
pageCount = { phoneScreenshots.size },
)
Surface {
HorizontalPager(state = pagerState) { page ->
// The overscrollEffect was bouncing screenshots with each swipe.
// Maybe this was a bug and overscroll effect can be enabled again once fixed.
HorizontalPager(state = pagerState, overscrollEffect = null) { page ->
AsyncShimmerImage(
model = phoneScreenshots[page],
contentDescription = "",