-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Tested:
Tested on both my personal project and this repository.
Problem:
When the MudExRichTextEditor is displayed inside a modal (MudDialog), the Insert Files toolbar button requires two clicks to open the popup dialog.
How to reproduce :
In this repository:
- Replace the content of Empty.razor with the code snippet below.
- Remove the @page "/" directive from Index.razor (to allow it to open in a dialog).
- Run the project and navigate to /empty.
- Click the "Open Editor Dialog" button.
- In the editor toolbar, click Insert Files — you'll notice it takes two clicks for the popup to appear. (The image I uploaded is after one click. You can notice that the button is purple (clicked) and everything else slightly gray on the background, but the insert files dialog is missing)
@page "/empty"
@inject IDialogService DialogService
<MudButton OnClick="OpenEditor">Open Editor Dialog</MudButton>
@code {
private async Task OpenEditor()
{
var options = new DialogOptions
{
FullWidth = true,
MaxWidth = MaxWidth.ExtraLarge,
CloseButton = true,
CloseOnEscapeKey = true,
BackdropClick = false,
};
await DialogService.ShowAsync<Index>("Editor", options);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
