We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc1765 commit 1864d72Copy full SHA for 1864d72
blazorbootstrap/Components/Offcanvas/Offcanvas.razor.cs
@@ -292,7 +292,7 @@ public bool IsVisible
292
/// Default value is true.
293
/// </remarks>
294
[Parameter]
295
- public bool UseBackdrop { get; set; } = true;
+ public bool UseBackdrop { get => this.UseStaticBackdrop; set => this.UseStaticBackdrop = value; }
296
297
/// <summary>
298
/// When `UseStaticBackdrop` is set to true, the offcanvas will not close when clicking outside of it.
@@ -301,7 +301,7 @@ public bool IsVisible
301
/// Default value is false.
302
303
304
- public bool UseStaticBackdrop { get; set; }
+ public bool UseStaticBackdrop { get; set; } = true;
305
306
#endregion
307
}
0 commit comments