Unplanned
Last Updated: 24 May 2019 14:58 by ADMIN
Michael
Created on: 24 May 2019 14:58
Category: Popup
Type: Bug Report
3
Popup: [iOS] The content in the popup is partially visualized when placement target is a layout with multiple children

when placement target is a StackLayout/GridLayout the popup is not visualized correctly.

For example:

<ContentPage.Content>
    <StackLayout>
        <Entry Text="{Binding Path=Username, Mode=TwoWay}"/>
        <telerikPrimitives:RadPopup.Popup>
            <telerikPrimitives:RadPopup x:Name="popup"
                                    IsModal="True"
                                    OutsideBackgroundColor="#6F000000" 
                                    IsOpen="{Binding Path=PopUpShow, Mode=TwoWay}">
                <telerikPrimitives:RadBorder CornerRadius="8" 
                                            BackgroundColor="Wheat">
                    <Grid Padding="20">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="30" />
                            <RowDefinition Height="20" />
                            <RowDefinition Height="40" />
                        </Grid.RowDefinitions>
                        <Button Grid.Row="0"
                            Padding="2"
                            HorizontalOptions="End" 
                            Text="Send"
                            Clicked="ClosePopup"/>
                        <Label Grid.Row="2" Text="{Binding Path=PopUpMessage}" />
                    </Grid>
                </telerikPrimitives:RadBorder>
            </telerikPrimitives:RadPopup>
        </telerikPrimitives:RadPopup.Popup>
    </StackLayout>
</ContentPage.Content>

Workaround: set VerticalOptions="StartAndExpand" to the StackLayout

0 comments