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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Popup not covering screen in landscape on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

144671 May 16,2019 04:34 PM UTC May 17,2019 01:09 PM UTC Xamarin.Forms 2
loading
Tags: SfPopup
R Brian Lindahl
Asked On May 16, 2019 04:34 PM UTC

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.



R Brian Lindahl
Replied On 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>


Subburaj Pandian Veluchamy [Syncfusion]
Replied On 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    


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon