I noticed a bug after upgrading my project to Navigation Material 0.29.0-alpha.
When windowSoftInputMode is set to adjustResize in the manifest and you navigate from a bottom sheet to a destination that uses the keyboard, you won't be able to open any bottom sheet after you navigate back.
I made a sample to reproduce this bug, available here.
To Reproduce
Using the sample above, follow this steps to reproduce the behavior:
Click on the Open Sheet button
From the bottom sheet, click on the Navigate to Screen B button
Navigate back
Click on the Open Sheet button again, the bottom sheet cannot be opened anymore
Expected behavior
The bottom sheet should be able to be opened again.
Environment:
Accompanist version: 0.29.0-alpha
Compose version: 1.4.0-alpha05
Additional context
Removing android:windowSoftInputMode="adjustResize" in the manifest solves the issue.
Describe the bug
I noticed a bug after upgrading my project to Navigation Material
0.29.0-alpha
.When
windowSoftInputMode
is set toadjustResize
in the manifest and you navigate from a bottom sheet to a destination that uses the keyboard, you won't be able to open any bottom sheet after you navigate back.I made a sample to reproduce this bug, available here.
To Reproduce
Using the sample above, follow this steps to reproduce the behavior:
Open Sheet
buttonNavigate to Screen B
buttonOpen Sheet
button again, the bottom sheet cannot be opened anymoreExpected behavior
The bottom sheet should be able to be opened again.
Environment:
Additional context
Removing
android:windowSoftInputMode="adjustResize"
in the manifest solves the issue.