Fix closing of upload dialog when file selected
This commit is contained in:
parent
4e17700e51
commit
2c58c12ec6
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
|||
</Template>;
|
||||
}
|
||||
|
||||
<Modal Visible="@Visible" Title="Upload Archive" OnOk="Start" OnCancel="Cancel" Footer="@Footer" Closable="@(!Uploading)" MaskClosable="@(!Uploading)">
|
||||
<Modal Visible="@Visible" Title="Upload Archive" OnOk="Start" OnCancel="Cancel" Footer="@Footer" Closable="@(!Uploading)" MaskClosable="false">
|
||||
<Form Model="@Archive" Layout="@FormLayout.Vertical">
|
||||
<FormItem Label="Version">
|
||||
<Input @bind-Value="@context.Version" />
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<span class="uploader-progress-rate"></span>
|
||||
|
||||
<label tabindex="0" class="ant-upload" style="display: grid;" for="ChunkFileInput" role="button">
|
||||
<label tabindex="0" class="ant-upload" style="display: grid;" for="@($"ChunkFileInput-{_uploaderId}")" role="button">
|
||||
<InputFile @ref="_fileInput" @key="@_uploaderId" id="@($"ChunkFileInput-{_uploaderId}")" OnChange="OnFileSelected" accept="@Accept" style="position: absolute; width: 100%; height: 100%; opacity: 0; top: 0;left: 0; z-index:2;" />
|
||||
|
||||
<div class="ant-upload-drag-container">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue