Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hello,
I'm using SFRichTextEditor within my app, I'm trying to take users input and based on characters they type, e.g. "@" Insert html in to the text to create a hyperlink. This works well except for one annoying problem. As soon as I edit the string to insert the HTML and assign it back to the control Text property. It 'refreshes' the control (I think) and the cursor jumps back to the start position rather than remaining at the position it was at.
The same thing happens if I assign the text to the SFRichTextEditor.Text property OR the SFRichTextEditor.HtmlText property the outcome is the same.
How do I work around this issue?
Every time I set the Text property with new html the cursor jumps back to the start of the Editor and I can't get it to maintain the position I was typing at.
The sample project adds new html block every 5 seconds. Click cursor to end of paragraph to see the problem.