Hello, since I started created view for mobiles I noticed that Modal dialogs have some issues on device rotation.
In the example bellow you can see that if I open dialog which does not fit to screen and needs scrolling down at the bottom I have two buttons. Now if I rotate to horizontal and scroll to the bottom view is bugged and I cannot event see half of the content. I am using chrome dev tools but it works the same way on samsung phone. Any ideas how I resolve this?
You need to rotate device in order to produce the issue. Load dialog (vertically) which does not fit on the screen and you need to scroll down. Then rotate to horizontal position and you should get only half of your content available.
Video you provided works fine for me too
If you still cannot reproduce it I will make a video
Hi Eimantas,
Currenltly, we are validating your reported query. we will update you the further details in two business days on or before 19th April 2022.
Regards,
Vinitha
Hello, i'm trully sory misguidance, but the issue is with multiple dialogs.
I am attaching zip with solution and short video to demonstrate it
Thank you
Hi Eimantas,
Currently, we are validating your reported query with high priority. we will update you the further details in two business days on or before 25th April 2022.
| <SfDialog @ref="SfDialog" @bind-Visible="Visible" IsModal="true" Width="@width" AllowDragging="true" ShowCloseIcon="true"> @if (Model != null) { <DialogPositionData X="@Xvalue" Y="@Yvalue"></DialogPositionData> <DialogTemplates> <Header> Second </Header> <Content> . . . . . . </Content> </DialogTemplates> <DialogEvents OnOpen="@DialogOpen"></DialogEvents> <DialogButtons> <DialogButton Content="Submit" CssClass="e-danger col-4" /> </DialogButtons> } </SfDialog> @code { private void DialogOpen(Syncfusion.Blazor.Popups.BeforeOpenEventArgs args) { args.MaxHeight = "400px"; } } |
Hi All,
I have a problem with the dialog on mobile, where if I use a fixed bootstrap nav bar, the dialog takes up the entire viewport, and the top of the dialog, where the buttons are, is hidden under the toolbar.
https://youtube.com/shorts/RBp9YDJAVZQ
This happens if I use <nav class="... fixed-top>
Is it possible to set the dialog height to 80vh
Michael
Hi Michael,
We have branched the last query in this below forum. Please follow this forum for further updates.
Regards,
Priyanka K