Skip to content

extend composition suppression to handle FlorisBoard-style deletions#2719

Merged
huumn merged 2 commits into
stackernews:masterfrom
riccardobl:fixeditorhijacking
Dec 27, 2025
Merged

extend composition suppression to handle FlorisBoard-style deletions#2719
huumn merged 2 commits into
stackernews:masterfrom
riccardobl:fixeditorhijacking

Conversation

@riccardobl
Copy link
Copy Markdown
Member

Fixes #2718

FlorisBoard deletes text differently: it first selects the character to remove, then fires an insertText input event with data='' to replace the selection with nothing.

The original PR didn’t account for this pattern, so this PR adds that case to the suppression trigger list.

@riccardobl riccardobl requested a review from Soxasora December 27, 2025 11:38
Copy link
Copy Markdown
Member

@Soxasora Soxasora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this on FlorisBoard, Yandex and AOSP keyboard.
This works and doesn't impact the other keyboards' functionalities, not even Desktop.

Thank you!

@huumn huumn merged commit 8720ec5 into stackernews:master Dec 27, 2025
6 checks passed
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.

Deletion problems on Android haven't fully resolved

3 participants