Completed
Last Updated: 31 Jan 2024 07:55 by ADMIN
Release 6.7.0
When having a popup with a content template set and adding items in the popup, the size of the popup does not change dynamically. 

When ContentTemplate is not used, the size changes dynamically. 
Completed
Last Updated: 28 Nov 2023 17:39 by ADMIN
Release 5.2.0
The Loaded event of the Content and the Loaded events of the views inside the Content are not raised when the popup is shown.
Completed
Last Updated: 07 Jun 2023 07:41 by ADMIN
Release 5.2.0
Popup's size must be able to dynamically expand/shrink when the content's size changes. 
Completed
Last Updated: 18 Jan 2023 12:44 by ADMIN
Release 5.0.0
When the Popup is used with asynchronous operation in the OnAppearing method the application crashes when started.
Completed
Last Updated: 13 Jul 2022 11:19 by ADMIN
Release Release 2.0.0

Hi Team,

You can replicate this behavior with the following code in a preview14 MAUI project with Telerik UI for MAUI v0.6.0.

Notes:

  • All other UI for MAUI prerequisites have been met, as this work when being defined in XAML instead.
  • I have tested other page elements for the PlacementTarget, like this.Content and RootGrid, same exception.
  • I am deploying to Windows, so I am not sure if this happens in iOS/Android/MacCatalyst

Repro

MainPage.xaml

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MyApp.MainPage"
             BackgroundColor="{DynamicResource SecondaryColor}">
    <Grid x:Name="RootGrid">
        <Label Text="Stuff"  />
    </Grid>
</ContentPage>

MainPage.xaml.cs

using Telerik.XamarinForms.Primitives;

namespace MyApp;

public partial class MainPage : ContentPage
{
    RadPopup popup;
    
    public MainPage()
    {
        InitializeComponent();

        popup = new RadPopup();
        popup.PlacementTarget = this;
        popup.Placement = PlacementMode.Center;

        popup.IsModal = true;
        popup.OutsideBackgroundColor = Color.FromArgb("#FF0000");

        popup.Content = new Label { Text = "Hello Telerik Popup!" };
    }
}

Screenshot of Breakpoint

StackTrace

   at Telerik.RadMauiControlsHelper.<>c.<.cctor>b__0_0()
   at Telerik.RadMauiCoreHelper.get_MauiContext()
   at Telerik.XamarinForms.Primitives.RadPopup.SetPopupIsOpen(Boolean value)
   at Telerik.XamarinForms.Primitives.RadPopup.UpdatePopup()
   at Telerik.XamarinForms.Primitives.PopupBase.OnPlacementTargetChanged()
   at Telerik.XamarinForms.Primitives.PopupBase.<>c.<.cctor>b__113_3(BindableObject b, Object o, Object n)
   at Microsoft.Maui.Controls.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, Boolean silent)
   at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes)
   at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value, Boolean fromStyle, Boolean checkAccess)
   at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value)
   at Telerik.XamarinForms.Primitives.PopupBase.set_PlacementTarget(VisualElement value)

 

Completed
Last Updated: 13 Jul 2022 10:30 by ADMIN
Release Release 2.0.0

Popup has incorrect position on iOS, Android devices are rotated 

Popup has incorrect position on Windows when window is resized.

Check Telerik .NET MAUI Controls Sample app -> Popup Example on windows resize the window the popup is not centered, it changes its position. 

on android, iOS rotate the device landscape, popup does not expand to cover the screen area.