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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wrong positioning on second opening

Thread ID:

Created:

Updated:

Platform:

Replies:

143132 Mar 5,2019 08:17 PM UTC Mar 9,2019 09:37 AM UTC Xamarin.Forms 2
loading
Tags: SfPopup
Holger Kammerer
Asked On March 5, 2019 08:17 PM UTC

Dear Syncfusion,

when my popup is opened the second time, it's position is not the same like opening the first time. Here's the code:

using Syncfusion.ListView.XForms;
using Syncfusion.XForms.PopupLayout;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Xamarin.Forms;

namespace AppXamlTest
{
public class MainPage : ContentPage
{

SfPopupLayout menuPopup;
Button titleButton;
DataTemplate DataTemplate;

public MainPage()
{

titleButton = new Button();
titleButton.Text = "Arbeitsbereich 1";
titleButton.Clicked += Button_Clicked;
NavigationPage.SetTitleView(this, titleButton);

CreateMenuPopup();

StackLayout stackLayout = new StackLayout();
stackLayout.Children.Add(new Label { Text = "Welcome to Xamarin.Forms!" });

this.Content = stackLayout;

}

void Button_Clicked(object sender, EventArgs e)
{
try
{
menuPopup.Show(0D, 0D);
}
catch (Exception ex)
{

}
}

void CreateMenuPopup()
{
menuPopup = new SfPopupLayout();
menuPopup.Padding = 10;
menuPopup.PopupView.ShowFooter = false;
menuPopup.PopupView.ShowHeader = false;
DataTemplate = new DataTemplate(() =>
{
var menuItems = new List<string>() { "A", "B", "C" };
ListView listView = new ListView();
listView.ItemsSource = menuItems;
return listView;
});
menuPopup.PopupView.ContentTemplate = DataTemplate;
}

}
}


Subburaj Pandian Veluchamy [Syncfusion]
Replied On March 6, 2019 12:33 PM UTC

Hi Holger,  
  
Thank you for contacting Syncfusion support. 
 
We have checked and we can able to replicate the reported issue “Popup view is displayed on different position while showing second time”. We will validate the issue and update you the details within two business days (March 8, 2019). We appreciate your patience until then. 
 
Regards,
Subburaj Pandian V   
 


Pradeep Kumar Balakrishnan [Syncfusion]
Replied On March 9, 2019 09:37 AM UTC

Hi Holger, 
 
Thank you for your patience. 
 
We have validated the reported issue “Popup view is displayed on different position while showing second time” in Xamarin forms. We have logged defect report for this issue and the issue will be fixed and included in our 2019 volume 1 main release which is expected to be available on end of March 2019. We appreciate your patience until then, 
 
Regards, 
Pradeep Kumar B 


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

;