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

Not correct SfExpander.Content height.


I have SfChipGroup inside SfExpander.content inside SfListView. When chips are added to expanded expander the hight is not correctly calculated. With each new chip the size grow little bit (even if not necessary) and size grow even if chip is removed. If you close and expand expander the size is calculated correctly.

Please check attached sample.

Best regards,

Attachment: SfChips01_89b5b8c5.zip

11 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team September 3, 2019 08:43 AM

Hi Radoslaw, 
Thank you for contacting Syncfusion support. 
We have checked and we can able to replicate the reported issue with Expander in Xamarin.Forms (iOS). We will validate and update you the further details on September 4, 2019.  We appreciate your patience until then. 
Subburaj Pandian V 

SR Sangeetha Raju Syncfusion Team September 4, 2019 08:06 AM

Hi Radoslaw, 
The reported issue occurs due to SfChip control. Currently we are validating the reported issue. We will check and let you know the details on September 5, 2019. We will appreciate your patience until then. 
Sangeetha Raju. 

MK Muneesh Kumar G Syncfusion Team September 5, 2019 10:38 PM

Hi Radoslaw, 
Currently we are checking the root cause for this problem, we will update you the status on September 6th, 2019.  
Muneesh Kumar G. 

SR Sangeetha Raju Syncfusion Team September 8, 2019 06:03 AM

Hi Radoslaw, 
We have confirmed the reported issue “SfExpander.Content height is not updated in iOS” is a defect and logged issue report for the same. We will fix the issue and include the issue fix in our next Weekly Nuget release update which is planned to roll out on September 17, 2019. We appreciate your patience until then. 
You can track the status of this report through the following feedback link, 
Note: The provided feedback link is private, you need to login to view this feedback. 
Sangeetha Raju. 

MM Mageshyadav M Syncfusion Team September 13, 2019 04:28 AM

Hi Radoslaw,

Sorry for wrong promised timeline in previous update.

Due to release process internally, we will not deliver weekly nugets for next week hence we will include this fix changes in 2019 Volume 3 release which may be scheduled to be released by end of September 2019.


SM Syed Mudassir February 24, 2020 10:50 AM


Is this issue resolved or still not working? I am having the same issue. Expander Content height is not set initially but when trying to collapse and expand it two three times it calculates the right content height. 
Please update me if this issue is resolved. Or any workaround is available

Thank you


JN Jayaleshwari N Syncfusion Team February 24, 2020 11:43 PM

Hi Syed , 
Thanks for using Syncfusion Products. 
We have fixed the reported issue in this forum on our Essential Studio 2019 Volume 3 Release version Can you please update your application with latest Syncfusion version and check whether you are still facing the issue. If yes, we would request you to share the following details which would be better to provide the solution at the earlier as possible. 
  • Xaml and related code snippet used in your application.
  • Xamarin.Forms version used.
  • The issue reproducing specific device or platform.
Jayaleshwari N. 

BR Brandon February 25, 2020 03:56 PM


I am very interested in using the full version of Syncfusion's Xamarin UI and have been testing it out with my current development however I have been experiencing the same issue in XF.UWP when hiding/showing StackLayouts, within an Expander.Content using IsVisible. Expander does not resize to content, however if I move the contents outside of the Expander it readjusts just fine as it should. The only way to resize is to drag the Application's Window's edge manually and the Expander automatically fixes it's height. Additionally, when forced to readjust height by dragging the windows edge, the Expander.Content remains fixed to the largest stacklayout's height leaving a large blank area between affected Expander.Content and whatever content follows. Any help figuring out how to trigger that resize without extra interaction would be greatly appreciated.


LN Lakshmi Natarajan Syncfusion Team February 26, 2020 06:12 AM

Hi Brandon, 
Thank you for using Syncfusion products. 
We have checked the reported query “Expander content does not resize properly” from our end. We would like to let you know that we are unable to reproduce the reported issue in our sample and Expander content size updated as expected. We have attached the tested sample for your reference. You can download them in the following link, 
Meanwhile, we suggest you to set DynamicSizeMode as Content for Expander to update the content size at run time. 
Please check the sample and let us know if you still facing the same issue? If not, please modify our sample to replicate the issue and share the following details to check further, 
  • Could you share ListView related ItemTemplate
  • Please share issue replicating sample
  • Share the issue reproducing video (if possible)
  • Share Xamarin.Forms and Syncfusion updated version
It will be helpful for us to check on it and provide you the solution at the earliest. 
Lakshmi Natarajan 

BR Brandon February 26, 2020 04:01 PM

Hi Lakshmi,

DynamicSizeMode = Content works wonderfully. Couldnt find any documentation on it's properties and must have missed it scrolling through the props in Visual Studio. My test project is now working as expected with SyncFusion components and your help is much appreciated.


LN Lakshmi Natarajan Syncfusion Team February 27, 2020 12:15 AM

Hi Brandon, 
Thank you for the update. 
We are glad that the reported issue have been resolved at your end. We will mention about DynamicSizeMode property in our online UG document and it will be reflected in live shortly. 
Please let us know if you need any further update. As always we are happy to help you out. 
Lakshmi Natarajan 

Live Chat Icon For mobile
Up arrow icon