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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

3
Votes

When initializing SfRichTextEditor it takes approximately 500ms-1000ms to load on a Samsung Galaxy S8.

This is a very noticeable delay and makes the app using it seem sluggish and laggy.

Initialization Code:

RichTextEditor = new SfRichTextEditor()
{
    VerticalOptions = LayoutOptions.FillAndExpand,
    PlaceHolder = "Write your notes here!",
};

if (BindingContext != null)
{
    Note note = BindingContext as Note;
    RichTextEditor.HtmlText = note.Text;
}

RichTextEditor.SetBinding(SfRichTextEditor.HtmlTextProperty, "HTMLText");

StackLayout.Children.Add(RichTextEditor);


To reproduce, deploy to any device and click the + at the top right. Notice the delay.

Compare to when you comment out the RichTextEditor code on NoteEntryPage constructor.

Attempting to initialize it on a background thread does not help. the StackLayout.Children.Add(RichTextEditor) line is what appears to be slow, not the new SfRichTextEditor() piece.


This can be reproduced by constructing an instance of SfRichTextEditor on a background thread, then calling

MainThread.BeginInvokeOnMainThread(() => StackLayout.Children.Add(RichTextEditor));