fgilde / MudBlazor.Extensions

MudBlazor.Extensions from https://www.mudex.org is a small extension for MudBlazor from https://mudblazor.com
http://www.mudex.org
MIT License
231 stars 20 forks source link

[Bug]: MudExUploadEdit Crashes Dialogs #61

Closed tnruff closed 10 months ago

tnruff commented 10 months ago

Contact Details

tomnruff@gmail.com

What happened?

Created a MudDialog containing only a MudExUploadEdit. Upon trying to open said dialog, the screen darkens as if a dialog was opened, but nothing renders. Tried testing with another component (Mud DataGrid) within the dialog, same issue. Removing the MudExUploadEdit and just leaving the DataGrid made the dialog render correctly. The MudExUploadEdit uses the following definition (also included in screenshots):

<MudExUploadEdit MimeTypes="@mimeTypes" TextDropZone="Drop Files Here or Click Upload Files" T="UploadableFile"
                 DropZoneClickAction="DropZoneClickAction.UploadFile" ShowFileUploadButton="false" @ref="component" MinHeight="68"
                 AllowFolderUpload="false" AllowExternalUrl="false" Style="border: grey 3px dashed;" AllowRename="true"
                 ShowProgressForLoadingData="true" ColorizeIcons="true">
</MudExUploadEdit>
//Which has MudExUploadEdit<UploadableFile> component; and a string[] of valid mimeTypes in the code block.

Expected Behavior

The dialog should display the MudExUploadEdit, either alone or with another component within the dialog.

Screenshots

image

Reproduction link

No response

What application type are you referring to?

ServerRendered

Custom Application Type

No response

MudBlazor.Extension Version

1.7.76

MudBlazor Version

6.11.0

What browser are you using?

Chrome

Sample Solution

No response

Pull Request

No response

Code of Conduct

fgilde commented 10 months ago

Can you try to create a sample app with this problem?

tnruff commented 10 months ago

Sorry for the delay, seems that a hard reboot on the PC worked to fix the issue. Didn't see any improvement through restarts last week but after leaving it off for the weekend it works flawlessly.