Nan is not a valid value for width

Hello,
I have a horizontal SfStepProgressBar inside a SfCardView. I need to set the  LayoutOption to Equal so the steps will show evenly distributed horizontally  I am getting an exception "System.ArgumentException. Message=NaN is not a valid value for width". If the  SfStepProgressBar  is out side the  SfCardView it works fine.
Any idea what is causing the exception? 

<Grid>

    <cardView:SfCardView >

      <progressBar:SfStepProgressBar  HorizontalOptions="Fill"

                                   VerticalOptions="Center"

                                   LayoutOption="Equal">

      </progressBar:SfStepProgressBar>

    </cardView:SfCardView>

</Grid>





3 Replies 1 reply marked as answer

DS Devaraj Sekar Syncfusion Team December 12, 2020 05:43 PM UTC

Hi Mohammed,  
Thank you for contacting Syncfusion support.  
We were able to reproduce the issue with “SfStepProgressBar not rendering in SfCardView” and suspect this to be a defect. We will update you with further details on 15th December 2020.  
Regards,  
Devaraj S 



PK Prakash Kumar D Syncfusion Team December 15, 2020 02:07 PM UTC

Hi Mohammed, 
 
Thank you for contacting Syncfusion support.  
 
We have confirmed the issue with “StepProgressBar is not calculated properly in card view”. The fix for this issue will be estimated to be available on December 29th, 2020. 
Regards, 
Prakash Kumar 



DS Devaraj Sekar Syncfusion Team December 30, 2020 01:06 PM UTC

Hi Mohammed, 
Thank you for the patience. 
The reported issue with “StepProgressBar is not calculated properly in card view” has been fixed and included in our latest weekly NuGet package version (18.4.0.32), which can be downloaded from the below link. 
Kindly let us know if you require any further assistance. 
Regards, 
Devaraj S 


Marked as answer
Loader.
Up arrow icon