Skip to content

[Super Editor][IME][Bug] - Samsung: Error when backspacing stable tag at start of text, cause is not clearing composing region (Resolves #2970)#2971

Merged
matthew-carroll merged 1 commit into
mainfrom
2970_fix-samsung-bug-by-clearing-composing-region
Mar 9, 2026
Merged

[Super Editor][IME][Bug] - Samsung: Error when backspacing stable tag at start of text, cause is not clearing composing region (Resolves #2970)#2971
matthew-carroll merged 1 commit into
mainfrom
2970_fix-samsung-bug-by-clearing-composing-region

Conversation

@matthew-carroll

Copy link
Copy Markdown
Contributor

[Super Editor][IME][Bug] - Samsung: Error when backspacing stable tag at start of text, cause is not clearing composing region (Resolves #2970)

We weren't clearing the composing region in various content and selection altering commands. This can lead to invalid document ranges that we try to send to the IME.

The IME on iOS and Google devices seemed to handle this gracefully, but Samsung reports an error.

Now we clear the composing region in the various deletion operations I found.

There may be other operations that should clear the IME, too. This change may not be exhaustive.

… at start of text, cause is not clearing composing region (Resolves #2970)
@matthew-carroll matthew-carroll merged commit f63803a into main Mar 9, 2026
23 checks passed
@matthew-carroll matthew-carroll deleted the 2970_fix-samsung-bug-by-clearing-composing-region branch March 9, 2026 22:05
github-actions Bot pushed a commit that referenced this pull request Mar 9, 2026
… at start of text, cause is not clearing composing region (Resolves #2970) (#2971)
matthew-carroll added a commit that referenced this pull request Mar 9, 2026
… at start of text, cause is not clearing composing region (Resolves #2970) (#2971)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Super Editor][IME][Bug] - Samsung: Error when backspacing stable tag at start of text, cause is not clearing composing region

1 participant