We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Popup not covering screen in landscape on iOS

On my iPad Mini, when displaying a popup with .Show() - i.e. with default centering, in landscape mode, the grayed-out area isn't full screen, and the popup window appears to be centered as if it was centering in portrait mode.



2 Replies

RB R Brian Lindahl May 16, 2019 11:16 PM UTC

C# is: 

        SfPopupLayout loadingPopup = new SfPopupLayout();
        var template = this.Resources["ProgressTemplate"] as DataTemplate;
        loadingPopup.PopupView.ContentTemplate = template;
        loadingPopup.PopupView.HeaderTitle = "Loading puzzle data...";
        loadingPopup.PopupView.ShowFooter = false;
        loadingPopup.PopupView.WidthRequest = 400;
        loadingPopup.PopupView.HeightRequest = 150;
        loadingPopup.PopupView.ShowCloseButton = false;
        loadingPopup.BindingContext = this;
        loadingPopup.Show();

Template:

        <DataTemplate x:Key="ProgressTemplate">
            <Grid VerticalOptions="Center">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="4*"/>
                    <ColumnDefinition Width="6*"/>
                    <ColumnDefinition Width="1*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="50"/>
                </Grid.RowDefinitions>
                <Label Text="Progress" 
                        FontSize="Small"
                        HorizontalTextAlignment="End"
                        VerticalTextAlignment="Center"
                        Grid.Column="1"
                        Grid.Row="0"></Label>
                <ProgressBar x:Name="PuzzleBar"
                            VerticalOptions="Center"
                            HeightRequest="20"
                            Progress="{Binding PuzzleProgress}"
                            Grid.Column="2"
                            Grid.Row="0"></ProgressBar>
            </Grid>
        </DataTemplate>



SP Subburaj Pandian Veluchamy Syncfusion Team May 17, 2019 01:09 PM UTC

Hi Brian, 
  
Thank you for contacting Syncfusion support. 
  
We have already found and fixed the mentioned issue “Container background shadow is not filled in iPad device while loading SfPopup in landscape”. This issue fix has been included in our latest Essential Studio 2019 Volume 1 SP1 Release version 17.1.0.47 version. We have tested this scenario with the following sample, 
 
  
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us with the more details. It will be helpful for us to check on it and provide you the solution at the earliest.  
 
Regards,
Subburaj Pandian V    


Loader.
Live Chat Icon For mobile
Up arrow icon