Skip to content

Commit 5be3ed7

Browse files
Merge pull request #64 from ArunachalamSyncfusion/IsOpenProperty
Resolve the issue of the IsOpen property of BottomSheet didn't work properly when binding the value to the property.
2 parents 4056af6 + 89f36d0 commit 5be3ed7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

maui/src/BottomSheet/SfBottomSheet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public partial class SfBottomSheet : SfView, IParentThemeElement
338338
typeof(bool),
339339
typeof(SfBottomSheet),
340340
false,
341-
BindingMode.Default,
341+
BindingMode.TwoWay,
342342
propertyChanged: OnIsOpenPropertyChanged);
343343

344344
// Appearance (continued)

maui/tests/Syncfusion.Maui.Toolkit.UnitTest/Navigation/SfTabViewUnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3484,7 +3484,7 @@ public void TestVelocityValueCheck()
34843484
var value1 = GetPrivateField(horizontal, "_velocityX");
34853485
Assert.NotNull(value1);
34863486
double val = (double)value1;
3487-
Assert.Equal(0.15657, Math.Round(val, 5));
3487+
Assert.Equal(0.16, Math.Round(val, 2));
34883488
}
34893489

34903490
[Fact]

0 commit comments

Comments
 (0)