Delete button outside of token when set to placement right

Hi,
I figured out a problem on Android (iOS looks ok though) with the TokenSettings for the SfComboBox on Android.

If I set the DeleteButtonPlacement to "Right" and the displayed text is a little bit longer, the DeleteButton moves outside of the Token view.
If I set it to left, it works fine.

Please see both screenshots attached.

This is the XAML Code. I set it to left for android to bypass the issue for my current release.

<combobox:SfComboBox.TokenSettings>
                                                <combobox:TokenSettings 
                                                    FontSize="{OnIdiom Desktop=20, Tablet=20, Phone={OnPlatform Android=12, Default=14}}" 
                                                    BackgroundColor="{DynamicResource Gray-100}" 
                                                    FontFamily="{StaticResource Montserrat-Regular}"
                                                    TextColor="{DynamicResource Gray-900}" 
                                                    SelectedBackgroundColor="{DynamicResource PrimaryColor}" 
                                                    IsCloseButtonVisible="true" 
                                                    CornerRadius="15" DeleteButtonPlacement="{OnPlatform Android=Left, Default=Right}"
                                                    />
                                            </combobox:SfComboBox.TokenSettings>

Attachment: Screenshots_da9156f0.zip

5 Replies 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team August 7, 2020 06:01 AM UTC

Hi Andreas,

Greetings from Syncfusion.

We have tried to replicate the reported issue at our end by creating a sample using the provided code snippets, we are afraid that we are not able to reproduce the issue at our end. We have attached the tested sample for your reference.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ComboBoxSample_Token19149330

Since we are not aware of your exact application scenario, we were not able to reproduce this issue at our end, so can you please revert us by modifying the complete sample based on your application. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Suganya Sethuraman.
  



AR Andreas Reitberger August 7, 2020 06:46 AM UTC

Hi,
thank you very much for the quick respone.
I changed your example so that the error occures.

What I did:
- Updated XamarinForms to latest version

Please see the screenshot and the project attached.

Attachment: ComboBoxSample_Editted_1596782496_deca671.zip


SS Suganya Sethuraman Syncfusion Team August 10, 2020 12:10 PM UTC

Hi Andreas,

We were able to reproduce the issue. We are analyzing the root cause of an issue and we will update the details on August 12, 2020. We appreciate your patience until then.

Regards,
Suganya Sethuraman
 



SS Suganya Sethuraman Syncfusion Team August 12, 2020 12:29 PM UTC

Hi Andreas,

We were able to reproduce the issue “Delete button outside of token when set to placement right” and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.

Link:
https://www.syncfusion.com/feedback/16931

The provided feedback link is private, and you need to login to view this feedback.

The fix for the reported issue will be available on 26th August ,2020.

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.
 
  


Marked as answer

SS Suganya Sethuraman Syncfusion Team August 27, 2020 11:08 AM UTC

Hi Andreas,

Thanks for the patience.

We are glad to announce that our weekly NuGet version 18.2.0.55 was rolled out and the fix for the reported was included in the weekly NuGet.

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,
Suganya Sethuraman.
 


Loader.
Up arrow icon