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. Image for the cookie policy date

Wrong positioning on second opening

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;
}

}
}


6 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team 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   
 



PK Pradeep Kumar Balakrishnan Syncfusion Team 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 



KK Karthikraja Kalaimani Syncfusion Team January 24, 2020 12:43 PM UTC

Hi Rodrigo,

Thank you for the update,

We have checked the reported issue “Popup is shown in wrong position when at second time ” in v17.3.0.28 and we unable to reproduce the issue in the reported version and it is working fine as expected. We have attached the tested sample and video for your reference.

Sample link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Popup_Demo-615871587.zip


Video link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video_Reference_143132-1865532985.zip


Please let us know the following details.

i) Xamarin Forms Version
ii) Which platform you are facing the issue ?

Regards, 
Karthik Raja 



GE George January 24, 2020 05:48 PM UTC

Same issue here


DB Deepika Balasubramaniyan Syncfusion Team January 27, 2020 02:08 PM UTC

Hi George,

We are able to replicate the reported issue “Wrong positioning on second opening” in SfPopupLayout. Currently we are working on this issue. We will provide further details on 29th January 2020.

We appreciate your patient until then.

Regards,

Deepika.






KK Karthikraja Kalaimani Syncfusion Team January 29, 2020 07:13 AM UTC

Hi George,

Thank you for your patience,

We have analyzed the reported issue “PoupView is shown in wrong position when second time in Xamarin Forms Shell Page” and currently we don’t have a support and we considered to implement this support and logged feature request for the same. We will implement this feature in any of our upcoming release.     
    
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.  

You can also communicate with us regarding the open features any time using our Feature Report page.    
  
FeedBack linkhttps://www.syncfusion.com/feedback/10979/support-to-show-a-popup-relative-to-the-view-given-location-in-xamarin-forms-shell


If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.

Regards,
Karthik Raja 


Loader.
Up arrow icon