The modal component Maximizable does not have a full-screen problem.
jxcproject opened this issue · comments
jxcproject commented
Describe the bug
When the component is set to Resizable to true, modal does not have full screen when resize and then maximize it.
Steps to reproduce (please include code)
<Button Icon="@IconType.Outline.Search" OnClick="@(()=>{ this._modalVisible=true;})" />
<Modal Title="选择"
Resizable="@true"
Draggable="@true"
Maximizable = "@true"
BodyStyle="text-align: center;"
Visible="@this._modalVisible"
OnOk="@this.HandleModalOk"
OnCancel="@this.HandleModalCancel">
TEST
</Modal>
@code
{
private bool _modalVisible = false;
private void HandleModalOk()
{
this._modalVisible = false;
}
private void HandleModalCancel()
{
this._modalVisible = false;
}
}
Further technical details
- AntDesign Nuget Package version 0.19.0