[GH-ISSUE #7679] [Bug] Overwriting a selected text removes more than expected #3396

Closed
opened 2026-03-23 21:29:50 +00:00 by mirror · 1 comment
Owner

Originally created by @WagnerGFX on GitHub (Apr 3, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7679

Originally assigned to: @LucasXu0, @asjqkkkk on GitHub.

Bug Description

Selecting a word and overwriting it by typing in the keyboard results in more text being deleted beyond what was selected.

How to Reproduce

  • Write a small paragraph
  • select a word in it
  • type new text over it

Expected Behavior

Only the selected text should be replaced.

Operating System

Windows 10

AppFlowy Version(s)

0.8.8

Screenshots

https://github.com/user-attachments/assets/195e44e6-21c8-49bb-90e4-e20c34888a40

Additional Context

  • Overwriting a selected text at the end of a line just deletes the text, without inserting the new character.
  • Overwriting selected text with the same initial letter is, for some reason, okay.
  • Deleting selected text is also okay.
  • Pasting in selected text is also okay.

I was also able to reproduce it in v0.8.7, but didn't try on older versions.

Originally created by @WagnerGFX on GitHub (Apr 3, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7679 Originally assigned to: @LucasXu0, @asjqkkkk on GitHub. ### Bug Description Selecting a word and overwriting it by typing in the keyboard results in more text being deleted beyond what was selected. ### How to Reproduce - Write a small paragraph - select a word in it - type new text over it ### Expected Behavior Only the selected text should be replaced. ### Operating System Windows 10 ### AppFlowy Version(s) 0.8.8 ### Screenshots https://github.com/user-attachments/assets/195e44e6-21c8-49bb-90e4-e20c34888a40 ### Additional Context - Overwriting a selected text at the end of a line just deletes the text, without inserting the new character. - Overwriting selected text with the same initial letter is, for some reason, okay. - Deleting selected text is also okay. - Pasting in selected text is also okay. I was also able to reproduce it in v0.8.7, but didn't try on older versions.
mirror 2026-03-23 21:29:50 +00:00
Author
Owner

@githubcatheaven commented on GitHub (Apr 7, 2025):

I think this bug need to be fixed asap because it happens everyday

<!-- gh-comment-id:2781926796 --> @githubcatheaven commented on GitHub (Apr 7, 2025): I think this bug need to be fixed asap because it happens everyday
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3396
No description provided.