Skip to content

Commit bb02b1e

Browse files
committed
Merge branch 'fix-dialog' into copilot/fix-030e1e49-e9e3-4284-bfb2-1455f503ce53
2 parents ba7b328 + 6459ce3 commit bb02b1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BootstrapBlazor/Components/Dialog/Dialog.razor.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ private async Task Show(DialogOption option)
166166

167167
private static RenderFragment RenderDialog(int index, Dictionary<string, object> parameter) => builder =>
168168
{
169+
if (index > 0)
170+
{
171+
parameter[nameof(ModalDialog.IsScrolling)] = true;
172+
}
173+
169174
builder.OpenComponent<ModalDialog>(100 + index);
170175
builder.AddMultipleAttributes(101 + index, parameter);
171176
builder.SetKey(parameter);

0 commit comments

Comments
 (0)