-
Notifications
You must be signed in to change notification settings - Fork 105
Description
Description
On Android, when setting IsOpen = true, the bottom sheet correctly opens in the FullExpanded state when AllowedState is set to FullExpanded. However, on second time or later openings, the bottom sheet opens in a HalfExpanded state instead of fully expanding.
To temporarily fix this, setting FullExpandedRatio="1" and HalfExpandedRatio="1" helps, but it does not completely resolve the issue. It appears that after the first opening, the AllowedState is internally changed to HalfExpanded, causing the unexpected behavior.
Second issues, when setting IsModal = true, the expected behavior is that user interactions outside the bottom sheet should be blocked. However, clicking outside the bottom sheet closes it instead of preventing interaction.
Steps to Reproduce
Set IsOpen = true with AllowedState="FullExpanded".
The bottom sheet opens correctly in FullExpanded state.
Close the bottom sheet.
Reopen the bottom sheet by setting IsOpen = true again.
The bottom sheet opens in HalfExpanded state instead of FullExpanded.
Set IsModal = true.
Open the bottom sheet.
Click outside the bottom sheet.
The bottom sheet unexpectedly closes, even though IsModal should prevent this.
Version with bug
1.0.3
Is this a regression from previous behavior?
No, this is a new issue
Last Known Working Version
1.0.2
Affected platforms
Android
Affected Platform Versions
10
Have you found a workaround?
No response