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

Changing ReadOnly to true pops up the soft keyboard for while which is annoying


In my app I switch between read only mode using the ReadOnly property.

1) When the rich text editor has a focus (especially tap on the text editor and set the focus) .

2) Next press the back button so that the soft keyboard closes.

3) Then click on a button that programmatically sets ReadOnly=true. This will popup the soft keyboard for a second and it will close. This is very annoying to the user.

You may not see it first time.. but just play around between text editor's focus and toggling ReadOnly to false and true. When you toggle using the button ensure that the soft keyboard is not visible by tapping the back button on the phone.

Please check and fix.

7 Replies

MP Mohana Priya Raja Syncfusion Team April 21, 2023 01:49 PM UTC

We were unable to reproduce the reported issue on our end. Please find the sample in the below attachment, which we have created to reproduce the issue. 

Kindly share the following details to analyze more on this issue and assist you with the better solution     

  1. Simple sample/ modify the above sample to reproduce the issue. 
  2. Replication procedure/Video to reproduce the issue.
  3. Xamarin Forms version.
  4. SfRichTextEditor version.
  5. Deployment device specification.

Attachment: RTE_975c33bf.zip

GJ Gautam Jain April 28, 2023 09:47 AM UTC

It happens when you set some text in the rich text box just before changing the read only flag.

Make sure you check on real android device and not the emulator.

Steps are.

  1. Type something in the rich text box
  2. Press back button so that keyboard closes
  3. Now tap on the toggle button so that the below code runs
  4. The keyboard pops up which is not expected.

Screenshot 2023-04-28 151509.png

HD Hemalatha Duraisamy Syncfusion Team May 1, 2023 05:37 PM UTC

We were able to reproduce the reported issue with “The soft keyboard popup for a second when sets read only as true in android Platform”.  Currently, we are validating this issue and we will update the further details on May 3, 2023.

HD Hemalatha Duraisamy Syncfusion Team May 3, 2023 04:07 PM UTC

We have confirmed that the issue with "The soft keyboard popup for a second when sets read only as true in android Platform". is a defect and have logged a defect report for this issue. The fix for the issue will be include in our upcoming weekly NuGet published under nuget.org and it is expected to be available on 17th May 2023.

Feedback Link:  https://www.syncfusion.com/feedback/43330/the-soft-keyboard-popup-for-a-second-when-sets-read-only-as-true-in-android

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”

HD Hemalatha Duraisamy Syncfusion Team May 17, 2023 02:09 PM UTC

We have included the fix for the reported issue “The soft keyboard popup for a second when sets read only as true in android Platform” in our weekly NuGet release v21.2.5 Please find the download link from below, 


GJ Gautam Jain June 14, 2023 08:18 AM UTC

Thanks. I confirm that this issue is resolved.

HD Hemalatha Duraisamy Syncfusion Team June 15, 2023 05:17 PM UTC

We are glad to know that your reported issue has been resolved at your end. Please get back to us if you need any assistance.

Live Chat Icon For mobile
Up arrow icon