Token item size does not fit the textbox and seems to be dependent on the fontsize

I am having an issue with a multi select SfTextBoxext wrapped inside an inputlayout where the token text does not fit properly inside the token item. After an item is selected from the dropdown, the UpdateTokenSize method is called from the onapplytemplate and the height that I set in the style (On the TokenBorder and TokenTextBlock) is overwritten. Any suggestionwould be appreciated thanks!


Attachment: Screenshot_20241008_134212_4594914f.rar

1 Reply

HC Hariharan Chokkalingam Syncfusion Team October 9, 2024 02:00 PM UTC

Hi Carles Steve,

 

Thank you for reaching out to us. We have reviewed your query based on your updates. Based on your input, we created a sample with the multi-select SfTextBoxExt wrapped inside an InputLayout. However, when we select an option, the text inside the token is visible on our end and we are unable to replicate the reported issue.

 

To assist you further, please provide us with the complete code or a sample demonstrating the issue along with replication steps. This will enable us to investigate thoroughly and propose a more accurate solution.

 

For your convenience, we have included the tested sample and an output image as attachments. Please review the attached files and let us know if you have any concerns. If necessary, feel free to make any required modifications and share the updated sample with us.

 

Don't hesitate to contact us if you have any questions or concerns.

 

Regards,

Hariharan


Attachment: Reference_1c540cf5.zip

Loader.
Up arrow icon