Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, 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!

0
Votes

The Blur event is not triggered when the toolbar is empty. However, if the toolbar contains items, the event fires correctly when the editor loses focus.


Code Snippet: 

@using Syncfusion.Blazor.RichTextEditor

<SfRichTextEditor >
    <RichTextEditorToolbarSettings Items="[]"/>
    <RichTextEditorEvents Blur="Callback"></RichTextEditorEvents>
</SfRichTextEditor>
@code {

    private void Callback(BlurEventArgs arg)
    {
        Console.WriteLine("Blur");
    }
}


Steps to Reproduce:

  1. Open the sample page.
  2. Set the toolbar items to an empty list.
  3. Focus into the editor.
  4. Click outside to remove focus.
  5. Observe that the Blur event does not trigger.

Expected Behavior:

The Blur event should trigger when the editor loses focus, regardless of whether the toolbar has items.

Actual Behavior:

The Blur event is only triggered when the toolbar contains items. It does not fire when the toolbar is empty.