We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15b80de commit ec9b7f7Copy full SHA for ec9b7f7
Radzen.Blazor/Rendering/Popup.razor
@@ -61,7 +61,8 @@
61
/// </summary>
62
/// <param name="target">The target element reference.</param>
63
/// <param name="disableSmartPosition">Whether to disable smart positioning.</param>
64
- public async Task ToggleAsync(ElementReference target, bool disableSmartPosition = false)
+ /// <param name="syncWidth">Whether to synchronize the width of the popup with the target element.</param>
65
+ public async Task ToggleAsync(ElementReference target, bool disableSmartPosition = false, bool syncWidth = false)
66
{
67
open = !open;
68
this.target = target;
@@ -73,7 +74,7 @@
73
74
"Radzen.openPopup",
75
target,
76
GetId(),
- false,
77
+ syncWidth,
78
null,
79
80
0 commit comments