mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(AppBar): Sizing issue when user flick too hard
This commit is contained in:
parent
120d2cfb96
commit
f78d4e9e6a
2 changed files with 31 additions and 7 deletions
|
@ -51,6 +51,7 @@ fun SettingsScaffold(
|
|||
scrollBehavior = enterAlwaysCollapsedScrollBehavior(
|
||||
state = rememberTopAppBarState(),
|
||||
canScroll = { listState.canScrollForward || listState.canScrollBackward },
|
||||
isAtTop = { listState.firstVisibleItemIndex == 0 && listState.firstVisibleItemScrollOffset == 0 },
|
||||
),
|
||||
) { innerPadding ->
|
||||
alertDialog.content?.let { it() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue