We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f9d391 commit 7c7a697Copy full SHA for 7c7a697
src/Spillgebees.Blazor.RichTextEditor/Components/BaseRichTextEditor.razor.cs
@@ -263,8 +263,8 @@ protected override async Task OnParametersSetAsync()
263
}
264
265
if (Selection is not null
266
- && Selection.Equals(InternalSelection)
267
- || InternalSelection is null)
+ && Selection.Length != InternalSelection?.Length
+ && Selection.Index != InternalSelection?.Index)
268
{
269
InternalSelection = Selection;
270
await SetSelectionAsync(InternalSelection);
0 commit comments