progress value from BottomSheetState on BottomSheetScaffold is being continuously updating when bottom sheet is changing state from expanded to collapsed; while dragging bottom sheet to expand, progress only shows 1.0 once bottom sheet is fully expanded.
To Reproduce (if applicable)
Steps to reproduce the behavior:
Add logger which will show the current progress value;
Go to page which has BottomSheetScaffold structure; bottom sheet is visible in both expanded and collapsed state;
Click on the bottom sheet while it is collapsed and drag it up with intention to expand it;
Observe the progress in the logger.
See error: 1.0 is shown on ly when bottom sheet is fully expanded, no intermediate values were provided.
Expected behavior (if applicable)
When Bottom sheet is expanding, provide the same behavior as when it is collapsing -> show continuous updates of the progress value.
Navigation material has been deprecated in Accompanist as the functionality has been moved to the main Compose libraries. If this bug persists there I suggest filing it at [goo.gle/compose-feedback]()
Describe the bug
progress
value fromBottomSheetState
onBottomSheetScaffold
is being continuously updating when bottom sheet is changing state from expanded to collapsed; while dragging bottom sheet to expand,progress
only shows1.0
once bottom sheet is fully expanded.To Reproduce (if applicable)
Steps to reproduce the behavior:
progress
value;Expected behavior (if applicable)
When Bottom sheet is expanding, provide the same behavior as when it is collapsing -> show continuous updates of the progress value.
Screenshots? (if applicable)
When expanding:
When collapsing:
Environment: (if applicable)
Additional context
n/a