iOS SfComboBox not autosizing correctly

Hi,

If I have the following xaml code:

<SfComboBox:SfComboBox x:Name="Box"
                                                HorizontalOptions="StartAndExpand"
                                                VerticalOptions="Center"
                                                DataSource="{Binding Options, Converter={StaticResource ValueConverter}}" 
                                                SelectedItem="{Binding myClass.Value, Mode=TwoWay}"
                                                Watermark="This is a long watermark"/>

where:

public MyClass
{
 private int _Value;
public int Value
{
     get => _Value;
     set
     {
          _Value = value;
          OnPropertyChanged();
     }
}
}

public ObservableCollection<int> Options = new ObservableCollection<int>(){ 2, 4, 6, 8};

for UWP and Android, if I don't set the WidthRequest of the SfComboBox, it automatically renders with a width that displays everything correctly. But for iOS, if WidthRequest is not set, the width with which it renders is too small, and the Watermark is almost non-visible.

Is this a bug on SfComboBox for iOS? I would expect the same behavior on the 3 platforms.

Thanks,

Miguel


7 Replies 1 reply marked as answer

MR Miguel Rubio August 26, 2020 11:18 AM UTC

I attach the example, which seems it has not been attached previously..

Attachment: ComboBoxSample_4f5a3dcd.zip


RB Rabhia Beham Kathar Mideenar Syncfusion Team August 27, 2020 12:48 PM UTC

Hi Miguel,

Greetings from Syncfusion.

We could reproduce the issue "SfComboBox not autosizing correctly" in the iOS platform. We have logged the issue report for the same. Please have the feedback link,

Link: https://www.syncfusion.com/feedback/17370/combobox-text-based-width-does-not-updated-in-the-absolutelayout

We will provide the fix for the same on or before September 10, 2020.

Regards,
Rabhia Beham K.


SS Suganya Sethuraman Syncfusion Team September 10, 2020 02:20 PM UTC

Hi Miguel,

Sorry for the inconvenience.

Due to complexity of the issue we could not provide path today. We will fix the reported issue and provide patch on September 17th, 2020 without delay. We appreciate your patience until then.

Regards,
Suganya Sethuraman.



SP Sakthivel Palaniyappan Syncfusion Team September 18, 2020 03:45 AM UTC

Hi Miguel,

Sorry for the inconvenience.

Due to complexity of the issue we could not provide patch as promised. We are currently working on this with high priority, and due to more architectural changes and to cover more working scenarios it is taking more time than expected. Also, we are encountering some technical blocks in fixing the issue. We will fix the reported issue and provide patch on or before September 19, 2020. We are deeply sorry for this delay.

Regards,
Sakthivel P.
 



SP Sakthivel Palaniyappan Syncfusion Team September 18, 2020 03:32 PM UTC

Hi Miguel,

Thanks for the patience.

We have fixed the reported issue and please find the assemblies from below.

Custom Assemblies:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Layout_ComboBox-1644568792

Sample with assemblies:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/ComboBoxSample-1265046484

Assembly version :
18.2.0.55

We can generate patch only for Main release and SP1 release versions, so we have provided the custom assemblies in 18.2.0.55.

Disclaimer:
Please note that we have created this for version 18.2.0.55 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Please refer the  below link for how to apply custom assemblies.
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget

Fix for the reported issue will be included in our upcoming weekly NuGet release, which will be available on September 29, 2020.

Regards,
Sakthivel P.
 



SP Sakthivel Palaniyappan Syncfusion Team September 30, 2020 05:24 AM UTC

Hi Miguel,

Sorry for the inconvenience.

Due to Volume 3 main release this week so, we don't have weekly release this week. And the fix will be included in the next weekly which is expected to be rolled out on October 13, 2020.

We appreciate your patience until then.

Regards,
Sakthivel P.
 



SP Sakthivel Palaniyappan Syncfusion Team October 13, 2020 03:12 PM UTC

Hi Miguel,

Thank you for your patience.

We have fixed the reported issue and included the fix in our latest Weekly NuGet release update version 18.3.0.40 which is available for download (https://www.nuget.org/ ).

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Sakthivel P.


Marked as answer
Loader.
Up arrow icon