Open TepesLucian opened 2 years ago
Hello! I have found a workaround, you can use the SwipeRefresh
param swipeEnabled
in combination with the scaffold toolbarState
progress to fix this:
SwipeRefresh(
swipeEnabled = scaffoldState.toolbarState.progress == 1f,
state = refreshState,
onRefresh = onRefresh,
modifier = modifier,
)
Not sure if it's an issue related to #18 but having
SwipeRefresh
as a child of the body blocks the toolbar from expanding. You can only expand the toolbar on a fling or when theSwipeRefresh
is refreshing. View system components first expand the toolbar then activatesSwiperefreshlayout
pull gesture.