SfComboBox characters that cannot fit inside the area when selecting an item with very long characters

Hello team!

I have a problems with SfComboBox component.

SfComboBox version : 24.1.41

C#:

 this.SocialMedias = new ObservableCollection<SocialMedia>();

 this.SocialMedias.Add(new SocialMedia() { Name = "ABCDEFGHIJKLMNOPQRSTUVWXYZ:JWD33 5210 1250 0004", ID = 0 });

Xaml:

<editors:SfComboBox x:Name="comboBox"

                    WidthRequest="250"

                    DisplayMemberPath = "Name"

                    TextMemberPath = "Name"

                    ItemsSource="{Binding SocialMedias}" />

Display:
・Android : Cuts off the first character of characters that do not fit within the area
・IOS : I
t overlaps with characters that cannot fit inside the area

It has no problem with xamarin.

I have attached the image for the same.

Please check.


Best and regards.


Attachment: bug_display_1cbf173d.zip


9 Replies 1 reply marked as answer

BV Brundha Velusamy Syncfusion Team March 5, 2024 11:16 AM UTC

Hi Bao,

 

Query 1: Android : Cuts off the first character of characters that do not fit within the area

 

Currently we don't have support for displaying the text from the beginning part when the SfComboBox control loses focus. We have already created a feature request for this "Display the text from the beginning part when the SfComboBox control loses focus ". Please find the below link for tracking the status of the feature implementation.

 

Feedback link: Feedback-45704

 

Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we have committed to already planned work. So, this feature will be available in any of our upcoming releases.

 

If you have any more specifications/suggestions for the feature request, you can add them as a comment in the portal. We will share the release details in the feedback itself.

 

Query 2: IOS : It overlaps with characters that cannot fit inside the area

 

Currently, we are validating the reported query based on the provided information and will share the details on or before March 7, 2024. We appreciate your patience until then.

 

Regards,

Brundha V



BV Brundha Velusamy Syncfusion Team March 7, 2024 03:47 PM UTC

Hi Bao,

 

Thank you for the patience.

 

We are able to replicate the reported issue "On iOS: SfComboBox characters that cannot fit inside the area when selecting an item with very long characters" at our end, and we have fixed the issue. At present, a custom patch has been created for version 24.2.9. We have attached the NuGet file for your convenience.

 

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

 

Please clear the NuGet cache, before using the latest one and please refer to the below link for this

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

 

Please refer the below KB to install the custom NuGet on a local machine,

https://support.syncfusion.com/kb/article/14586/how-to-install-the-maui-custom-nuget-in-the-windows-machine

 

This fix will be included in any of our upcoming weekly release. We will notify you once NuGet is released and appreciate your understanding and patience until that time.

 

Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.

 

Root cause and resolution:

 

The problem stems from the SfComboBox's input view lacking appropriate margin adjustments corresponding to the clear and dropdown button spaces on the iOS Platform. To resolve this, we have rectified the margin settings for the SfComboBox's input view based on the dropdown and clear buttons space for the iOS platform.

 

Regards,

Brundha V


Attachment: Syncfusion.Maui.Core.24.2.9_b25ac02.zip


BA bao March 8, 2024 06:24 AM UTC

Hi  Brundha V,

Thank you for the support and and useful information.

Currently we are using the original version 24.1.41, and do not want to update to 24.2.9 because it may affect other parts. Can you created this patch for version 24.1.41 specifically to resolve the issue reported in this ticket?

Regards,
Bao



BV Brundha Velusamy Syncfusion Team March 11, 2024 12:12 PM UTC

Hi Bao,

 

Based on your request, we have created the patch in version 24.1.41 NuGet and attached the NuGet file for your convenience.

 

Please clear the NuGet cache before using the latest one and please refer to the below link for this

How to clear NuGet cache?

 

Please refer the below KB to install the custom NuGet on a local machine,

How to install the MAUI custom NuGet in the Windows machine?

 

Regards,

Brundha V


Attachment: Syncfusion.Maui.Core.24.1.41_e923ec37.zip


BV Brundha Velusamy Syncfusion Team March 18, 2024 11:03 AM UTC

Hi Bao,

 

We are glad to announce that our Essential Studio 2024 Volume 1 Main Release v25.1.35  is rolled out and is available for download under the following link.

 

Essential Studio 2024 Volume 1 Main Release v25.1.35 is available for download | Announcements Forums | Syncfusion

 

We have included fix for the reported issue "On iOS: SfComboBox characters that cannot fit inside the area when selecting an item with very long characters" on SfComboBox in .NET MAUI in our latest nuget v25.1.35 which is available for download (   https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

  

Regards,

Brundha V


Marked as answer

KY kyawwin April 9, 2024 05:06 AM UTC

Hi Brundha Velusamy,

Thank you for supports and creation of「 Syncfusion.Maui.Core 」custom patch 24.1.41.

We want to request more because of we are using 「 microsoft.maui.controls 」 patch  8.0.3 in our project.

When we use this custom patch ,we need to update 「 microsoft.maui.controls 」 patch  version   8.0.3  to 8.0.7 .

When I downloaded and checked with 25.1.35 patch, the build was successful, but my app crashed after starting 

So, Can you created this custom patch version 24.1.41 which can convenience with microsoft.maui.controls package 8.0.3.

Best and regards.

Kyaw Win
Image_4011_1712638767357



PI Prithis Iyyappan Syncfusion Team April 10, 2024 02:26 PM UTC

Hi Bao,

 

Based on your request, we have created the patch in version 24.1.41 which can be convenient with Microsoft.Maui.Controls package of version 8.0.3. Please make use of the attached NuGet file.

 

Please clear the NuGet cache before using the latest one and please refer to the below link for this

How to clear NuGet cache?

 

Please refer the below KB to install the custom NuGet on a local machine,

How to install the MAUI custom NuGet in the Windows machine?

 

Regards,

Prithis I


Attachment: Syncfusion.Maui.Core.24.1.41_95529194.zip


KY kyawwin April 11, 2024 08:27 AM UTC

Hi team,


Thanks for your supports and creation custom patch 24.1.41 which can be convenient with Microsoft.Maui.Controls package of version 8.0.3.


I refered that the link that you given in above .


When I started and  run my application in ios ,application was crashed and can't start up correctly in ios .

There is no problems in andriod.


Can you explain about my problems or create another patch of Syncfusion.Maui.Core  24.1.41 version that can convenience with above problems and can be  convenient with Microsoft.Maui.Controls package of version 8.0.3.


There is no problems with original patch of  Syncfusion.Maui.Core  24.1.41 from nuget.org.


Error details :

iOS global exceptionSystem.TypeLoadException: Could not set up parent class, due to: Invalid generic instantiation assembly:

at Microsoft.Maui.Hosting.HandlerMauiAppBuilderExtensions.HandlerRegistration.AddRegistration(IMauiHandlersCollection builder)

at Microsoft.Maui.MauiUIApplicationDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions)

 MOBILE.iOS.AppDelegate.FinishedLaunching(UIApplication app, NSDictionary options) in iOS\AppDelegate.cs


Best and regards.



PI Prithis Iyyappan Syncfusion Team April 16, 2024 01:51 PM UTC

Hi Kyawwin,

 

Thank you for your patience.

 

We investigated the last patch shared of version 24.1.41 and reproduced the reported crash at our end by degrading our Maui Nuget versions of the VS projects. After thorough analysis, we have fixed the iOS crash and created the latest patch in version 24.1.41 which can be convenient with Microsoft.Maui.Controls package of version 8.0.3. Please make use of the attached NuGet file.

 

Please clear the NuGet cache before using the latest one and please refer to the below link for this

How to clear NuGet cache?

 

Please refer to the below KB to install the custom NuGet on a local machine,

How to install the MAUI custom NuGet in the Windows machine?

 

Regards,

Prithis I


Attachment: Syncfusion.Maui.Core.24.1.41_abdc5e7a.zip

Loader.
Up arrow icon