- Home
- Forum
- Xamarin.Forms
- Error sfPopupLayout when navigating between pages
Error sfPopupLayout when navigating between pages
Good evening, gentlemen, I ask for your help, please.
My xaml is like this:
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:PneumaticDeveloper.Views"
xmlns:sfPopup="clr-namespace:Syncfusion.XForms.PopupLayout;assembly=Syncfusion.SfPopupLayout.XForms"
x:Name="this"
x:Class="PneumaticDeveloper.Views.HomeView">
MY CODE
Thecode behind:
DataTemplate templateView;
StackLayout popupContent;
public HomeView()
{
InitializeComponent();
popupLayout.PopupView.AnimationMode = AnimationMode.SlideOnLeft;
popupLayout.PopupView.ShowHeader = false;
popupLayout.PopupView.ShowFooter = false;
popupLayout.PopupView.PopupStyle.BorderThickness = 0;
popupLayout.PopupView.PopupStyle.BorderColor = Color.FromHex("333333");
popupLayout.PopupView.PopupStyle.CornerRadius = 0;
popupLayout.PopupView.WidthRequest = 250;
popupLayout.PopupView.HeightRequest = 50;
loading.Start();
listViewFile.ItemsSource = listFiles;
listViewFile.ItemSelected += ListViewFile_ItemSelected;
CheckFolderAsync();
templateView = new DataTemplate(() =>
{
popupContent = new StackLayout
{
BackgroundColor = Color.White,
Orientation = StackOrientation.Vertical,
};
FileOptionView fileOption = new FileOptionView();
popupContent.Children.Add(fileOption);
return popupContent;
});
popupLayout.PopupView.ContentTemplate = templateView;
}
Everything is working very well.
but when I switch to another page(Navigation.PushAsync(new OtherPage()) and I go back popup layout presents the following error:
System.Exception: Calling ShowPopupAtTouchPoint() will work only when the root view is SfPopupLayout
Let me know what error I'm making, please.
SIGN IN To post a reply.
9 Replies
JD
José Donizete de Oliveira Júnior
April 1, 2018 02:12 PM UTC
Dispositivo: Blue vivo 5R Android 7.0
SS
Suhasini Suresh
Syncfusion Team
April 2, 2018 12:40 PM UTC
Hi Jose,
Thanks for contacting Syncfusion Support.
We are able to reproduce the issue, "Exception throws when SfPopupLayout.ShowPopupAtTouchPoint() is called after navigating from the page". We confirm it as the bug and have logged the bug report for the same. The fix for this issue will be included in 2018 Volume 1 Service Pack - 2 release.
Regards,
Suhasini
JD
José Donizete de Oliveira Júnior
April 2, 2018 01:52 PM UTC
Many thanks for the quick response. I'm waiting for correction.
JD
José Donizete de Oliveira Júnior
April 2, 2018 02:53 PM UTC
date forecast?
SS
Suhasini Suresh
Syncfusion Team
April 3, 2018 04:21 AM UTC
Hi Jose,
Thanks for your update.
The fix for the reported issue "Exception throws when SfPopupLayout.ShowPopupAtTouchPoint() is called after navigating from the page" will be included in 2018 Volume 1 Service Pack – 2 release which is scheduled to be rolled out in the last week of April 2018.
Regards,
Suhasini
JD
José Donizete de Oliveira Júnior
May 16, 2018 10:07 AM UTC
Good Morning,
Sorry to bother you again. This error has not yet been resolved.
Regards,
Jose Donizete
SS
Suhasini Suresh
Syncfusion Team
May 17, 2018 04:00 AM UTC
Hi Jose,
Sorry for the inconvenience caused. The fix for the reported issue is not included in 2018 Volume 1 Service Pack – 2 release.
We fixed the issue and it will be included in 2018 Volume 2 main release, which will be rolled out by the last week of May 2018.
Regards,
Suhasini
JD
José Donizete de Oliveira Júnior
May 17, 2018 09:46 AM UTC
Hi
No problem, thanks for the quick response.
SS
Suhasini Suresh
Syncfusion Team
May 18, 2018 04:19 AM UTC
Hi Jose,
The fix for the reported issue will be included in 2018 Volume 2 main release which is scheduled to be rolled out by the last week of May 2018. We expect your patience until then.
Regards,
Suhasini
SIGN IN To post a reply.
- 9 Replies
- 2 Participants
-
JD José Donizete de Oliveira Júnior
- Apr 1, 2018 02:46 AM UTC
- May 18, 2018 04:19 AM UTC
8/26/2026 12:54:06 PM
Sun, 15 December 2024 03:30:00 UTC
Sun, 15 December 2024 03:30:00 AM
Wed, 16 Feb 2022 04:59:00 UTC