Pull down scaffold: don't scroll search bar out of view when it is focused
This commit is contained in:
parent
f3d8d95d78
commit
dcf5d3f8b1
@ -372,7 +372,8 @@ fun PullDownScaffold(
|
||||
.wrapContentHeight()
|
||||
.windowInsetsPadding(WindowInsets.safeDrawing)
|
||||
.padding(8.dp)
|
||||
.offset { IntOffset(0, searchBarOffset.value.toInt()) }
|
||||
.offset { IntOffset(0,
|
||||
if (searchBarFocused) 0 else searchBarOffset.value.toInt()) }
|
||||
.offset {
|
||||
IntOffset(
|
||||
0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user