Fix pull down scaffold nested scroll
This commit is contained in:
parent
5556455832
commit
19fdc30f18
@ -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) {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user