We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

[UWP] Incorrect rendering after changing content by code in a particular state

Thread ID:





150356 Jan 3,2020 07:11 AM UTC Jan 7,2020 11:13 AM UTC Xamarin.Forms 1
Tags: SfTextInputLayout
Marco Negroni
Asked On January 3, 2020 07:11 AM UTC

Good morning,

as you can see in the attached video, i'm using the version, there is a rendering bug when i change the Editor content by code inside a SfTextInputLayout, once pasted data, deleted the content pressing for example "Control + A" and "Del" and setted a new data by code.

<sfTextInputLayout:SfTextInputLayout x:Name="sfTextInputLayout_Settings_LicenseData" ContainerType="Outlined" OutlineCornerRadius="5" ReserveSpaceForAssistiveLabels="False" FocusedColor="#007bff" ErrorColor="#dc3545" LeadingViewPosition="Inside">
<ImageButton x:Name="imageButton_Settings_PasteLicenseDataFromClipboard" HeightRequest="20" Aspect="AspectFit" Source="glyphicons_30_clipboard.png" Clicked="ImageButton_Settings_PasteLicenseDataFromClipboard_Clicked"/>

<Editor x:Name="editor_LicenseData" AutoSize="TextChanges"/>

private async void ImageButton_Settings_PasteLicenseDataFromClipboard_Clicked(object sender, System.EventArgs e)
string pastedData = await Clipboard.GetTextAsync();

this.editor_LicenseData.Text = pastedData.Trim();

Thanks in advance

Attachment: 20200103_080113_61ffdf58.7z

Divya Venkatesan [Syncfusion]
Replied On January 7, 2020 11:13 AM UTC

Hi Marco, 
Greetings from Syncfusion. 
We are able to reproduce the reported issue and we will check and fix this internally. You can resolve this issue in sample by using IsHintAlwaysFloated property of TextInputLayout as shown in the below code snippet. 
Code snippet [C#]: 
private async void ImageButton_Settings_PasteLicenseDataFromClipboard_Clicked(object sender, System.EventArgs e) 
    string pastedData = await Clipboard.GetTextAsync(); 
    if (Device.RuntimePlatform == Device.UWP) 
        sfTextInputLayout_Settings_LicenseData.IsHintAlwaysFloated = true; 
        this.editor_LicenseData.Text = pastedData.Trim(); 
        sfTextInputLayout_Settings_LicenseData.IsHintAlwaysFloated = false; 
        this.editor_LicenseData.Text = pastedData.Trim(); 
Please let us know if you need any further assistance. 
Divya Venkatesan 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon