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

Expander distorts when screen or grid column containing expander is resized

Thread ID:





146539 Aug 7,2019 01:58 PM UTC Aug 8,2019 04:15 PM UTC Xamarin.Forms 1
Tags: SfExpander
Jonathan Cranford
Asked On August 7, 2019 02:01 PM UTC

I am using an SFExpander on a UWP app, but will also have iOS/Android versions. Therefore it is quite possible for the user to resize the UWP window, and I also want to be able to animate the width of the Expander's parent column.

If I resize the screen, the content of the Expander stretches horizontally and is no longer fully visible. This also happens if I resize the Grid column the Expander is a child of.

The only way to restore the correct width of the Expander's content is to physically or programatically hide and re-show the Expander. If I do it programatically I have to leave a fairly large delay (500-750ms) otherwise the stretched content remains, and this delay between hiding and re-showing doesn't look good. Manual hide/show is instant but the user shouldn't have to do that.

I am already using .ForceLayout  to try and help things along.

XF version is - I would rather not have to upgrade at this point as I have tried previously and had major issues with Android library dependencies etc, so a workaround would be great if possible.

Sangeetha Raju [Syncfusion]
Replied On August 8, 2019 04:15 PM UTC

Hi Jonathan, 
We have checked the reported query “Expander doesn't resize properly when resizing the screen in UWP” from our side. We would like to let you know that we could able to reproduce the reported issue. We have confirmed that reported issue is a defect and logged a defect report for the reported bug. The reported issue fix will be available in upcoming Weekly Nuget Release which will be scheduled to rolled out on August 27, 2019. We will appreciate your patience until then.  
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link. 
Please let us know if you have any concern. 
Sangeetha Raju.


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

Live Chat Icon For mobile
Live Chat Icon