Skip to content

Commit 75ccf4d

Browse files
Resolved conflicts
1 parent 48e4731 commit 75ccf4d

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

maui/src/BottomSheet/SfBottomSheet.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,13 +1565,7 @@ void UpdateStateChanged(BottomSheetState oldState, BottomSheetState newState)
15651565
{
15661566
_stateChangedEventArgs.OldState = oldState;
15671567
_stateChangedEventArgs.NewState = newState;
1568-
1569-
if (_overlayGrid is not null)
1570-
{
1571-
_overlayGrid.IsVisible = (State is BottomSheetState.Collapsed) ? false : IsModal;
1572-
}
1573-
1574-
OnStateChanged(_stateChangedEventArgs);
1568+
OnStateChanged(_stateChangedEventArgs);
15751569
}
15761570
}
15771571

@@ -1658,11 +1652,6 @@ double GetFullExpandedPosition()
16581652
double GetCollapsedPosition()
16591653
{
16601654
double targetPosition = Height - CollapsedHeight;
1661-
1662-
if (_overlayGrid is not null)
1663-
{
1664-
_overlayGrid.IsVisible = false;
1665-
}
16661655
return targetPosition;
16671656
}
16681657

0 commit comments

Comments
 (0)