Modal Dialog height issue without sidebar
I created new Layout without sidebar
In Blazor content, based on this Layout, I put modal Dialog
SfDialog @bind-Visible="@IsVisible" IsModal="true" ShowCloseIcon="true" Width="440" Height="1000">
/SfDialog>
if I insert for my Layout
div class="sidebar">
/div>
Height="100" for my modal is working. But without sidebar, Dialog has fixed height, and I can't change it.
SIGN IN To post a reply.
5 Replies
IS
Indrajith Srinivasan
Syncfusion Team
May 25, 2020 12:12 PM UTC
Hi Aleksei,
Greetings from Syncfusion support,
We have validated the reported query and able to reproduce the issue from our end. If you have specified larger height than the body’s height, the dialog gets the height based on that body element height and it is set as max-height style of the dialog.The height of the dialog is not set since the body height is lower, when the sidebar div is removed which has a default height. In order to resolve this, you can set the height for the html and body in the site.css file.
CSS style
CSS style
|
html, body {
height: 100%;
}
|
Please let us know if the solution helps,
Regards,
Indrajith
WN
Waldemar Nowak
June 25, 2020 05:22 PM UTC
I have spent some time trying to investigate why my dialog is so low and ignores Height. The suggestion of CSS style helped:
html, body {
height: 100%;
}
Please update Dialog documentation to describe this solution.
IS
Indrajith Srinivasan
Syncfusion Team
June 26, 2020 01:25 PM UTC
Hi Aleksei,
Thanks for your suggestions,
Thanks for your suggestions,
We will document this scenario with Dialog and the changes will be published in the live documentation site on or before our 2020 Volume 2 SP 1 release.
Regards,
Indrajith
IS
Indrajith Srinivasan
Syncfusion Team
September 4, 2020 01:14 PM UTC
Hi Aleksei,
We couldn't include the documentation with dialog with our Volume 2 SP 1 release. We will document it on or before our Volume 3 main release.
Regards,
Indrajith
We couldn't include the documentation with dialog with our Volume 2 SP 1 release. We will document it on or before our Volume 3 main release.
Regards,
Indrajith
IS
Indrajith Srinivasan
Syncfusion Team
November 6, 2020 01:43 PM UTC
Hi Aleksei,
We have now documented the SfDialog target height usage and it is now refreshed in the live link.
https://blazor.syncfusion.com/documentation/dialog/getting-started/#run-the-application
Regards,
Indrajith
We have now documented the SfDialog target height usage and it is now refreshed in the live link.
https://blazor.syncfusion.com/documentation/dialog/getting-started/#run-the-application
Regards,
Indrajith
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
AL Aleksei
- May 23, 2020 04:42 AM UTC
- Nov 6, 2020 01:43 PM UTC