ant-design-blazor / ant-design-blazor

🌈A set of enterprise-class UI components based on Ant Design and Blazor.

Home Page:https://antblazor.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The modal component Maximizable does not have a full-screen problem.

jxcproject opened this issue · comments

Describe the bug

When the component is set to Resizable to true, modal does not have full screen when resize and then maximize it.

screenshots

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