You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SfBottomSheet component's IsOpenProperty is bound to the SelectedDevice property using a converter. While it works as expected initially, it fails to update when SelectedDevice is reset to null.
Initial Behavior: When SelectedDevice is null and IsOpen property is false, the bottom sheet remains closed as expected.
Expected Behavior on Selection: When a device is selected, SelectedDevice is assigned a non-null value. The converter updates IsOpen property to true, and the bottom sheet opens as expected.
Unexpected Behavior on Reset: When SelectedDevice is reset to null, the converter updated IsOpen property to false. However, the bottom sheet remains open.
varbottomSheet=newSfBottomSheet{Content=CreateMainContent(),BottomSheetContent=CreateBottomSheetContent()}.Bind(SfBottomSheet.IsOpenProperty,static(ViewModelvm)=>vm.SelectedDevice,convert: device =>deviceis not null);
Steps to Reproduce
No response
Version with bug
1.0.3
Is this a regression from previous behavior?
Not sure, haven't tested other versions
Last Known Working Version
Not sure, haven't tested other versions
Affected platforms
Android, Windows
Affected Platform Versions
No response
Have you found a workaround?
Instead of relying on data binding, using an event-based approach resolves the issue and ensures the IsOpen property updates as expected when SelectedDevice is reset to null.
Description
Packages:
Syncfusion.Maui.Toolkit Version="1.0.3"
CommunityToolkit.Maui Version="10.0.0"
CommunityToolkit.Maui.Markup Version="5.1.0"
The SfBottomSheet component's
IsOpenProperty
is bound to the SelectedDevice property using a converter. While it works as expected initially, it fails to update when SelectedDevice is reset to null.Steps to Reproduce
No response
Version with bug
1.0.3
Is this a regression from previous behavior?
Not sure, haven't tested other versions
Last Known Working Version
Not sure, haven't tested other versions
Affected platforms
Android, Windows
Affected Platform Versions
No response
Have you found a workaround?
Instead of relying on data binding, using an event-based approach resolves the issue and ensures the IsOpen property updates as expected when SelectedDevice is reset to null.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: