After updating accompanist from 0.28.0 to 0.30.1 I couldn't use progress.fraction anymore from the SwipeProgress object in the bottom sheet state so I now use progress directly from the new bottom sheet state.
I noticed there is an issue with the update of this value and I wonder if this is intended behavior.
When I scroll in a BottomSheetScaffold, on the first pixels (around 50px) the value of progress is not updated right away. The same issue happens when the sheet is fully expanded and I swipe to collapse, progress value is not updated in the first pixels. You can check the videos down below for more context.
Description
After updating accompanist from
0.28.0
to0.30.1
I couldn't useprogress.fraction
anymore from the SwipeProgress object in the bottom sheet state so I now useprogress
directly from the new bottom sheet state.I noticed there is an issue with the update of this value and I wonder if this is intended behavior.
When I scroll in a
BottomSheetScaffold
, on the first pixels (around 50px) the value ofprogress
is not updated right away. The same issue happens when the sheet is fully expanded and I swipe to collapse, progress value is not updated in the first pixels. You can check the videos down below for more context.Steps to reproduce
Expected behavior
The progress value should be updated as soon as the the bottom sheet is moving.