Fix pull down scaffold nested scroll

This commit is contained in:
MM20 2023-06-22 17:44:29 +02:00
parent 5556455832
commit 19fdc30f18
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -345,7 +345,7 @@ fun PullDownScaffold(
} }
) )
} }
.nestedScroll(nestedScrollConnection) //.nestedScroll(nestedScrollConnection)
.offset { IntOffset(0, offsetY.value.toInt()) }, .offset { IntOffset(0, offsetY.value.toInt()) },
contentAlignment = Alignment.TopCenter contentAlignment = Alignment.TopCenter
) { ) {
@ -365,6 +365,7 @@ fun PullDownScaffold(
state = pagerState, state = pagerState,
reverseLayout = true, reverseLayout = true,
userScrollEnabled = false, userScrollEnabled = false,
pageNestedScrollConnection = nestedScrollConnection,
) { ) {
when (it) { when (it) {