Skip to content

Commit 51d642f

Browse files
authored
android - fix zero width space detection (#94)
1 parent 1ae05e7 commit 51d642f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/main/java/com/swmansion/reactnativerichtexteditor/utils/EditorSelection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class EditorSelection(private val editorView: ReactNativeRichTextEditorView) {
3333
shouldValidateStyles = true
3434
}
3535

36-
if (isZeroWidthSelection()) {
36+
if (isZeroWidthSelection() && !editorView.isSettingValue) {
3737
editorView.setSelection(start + 1)
3838
return
3939
}

0 commit comments

Comments
 (0)