[GH-ISSUE #6849] [Bug] Crash when trying to delete emoji #3029

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

Originally created by @sstante on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6849

Originally assigned to: @asjqkkkk on GitHub.

Bug Description

When hitting backspace in the emoji menu after inserting an emoji with /emoji, AppFlowy crashes.

How to Reproduce

  1. Create a new document
    image
  2. Type /emoji
    image
  3. Select your favorite emoji
    image
  4. WITHOUT closing the menu or typing anything else, hit backspace
  5. Crash
    image

Expected Behavior

Don't crash (close menu and/or remove emoji).

Operating System

MacOS

AppFlowy Version(s)

Version 0.7.4

Screenshots

No response

Additional Context

No response

Originally created by @sstante on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6849 Originally assigned to: @asjqkkkk on GitHub. ### Bug Description When hitting backspace in the emoji menu after inserting an emoji with `/emoji`, AppFlowy crashes. ### How to Reproduce 1. Create a new document ![image](https://github.com/user-attachments/assets/69c15f8e-4262-4e03-a150-3c06d57f2250) 2. Type `/emoji` ![image](https://github.com/user-attachments/assets/e780b2cc-eed0-450d-b291-bb451fb3bbf7) 3. Select your favorite emoji ![image](https://github.com/user-attachments/assets/b507c210-664c-49ee-bb18-6619d952c52e) 4. WITHOUT closing the menu or typing anything else, hit backspace 5. Crash ![image](https://github.com/user-attachments/assets/0594458a-065e-4c17-9fff-f7a78a05fbae) ### Expected Behavior Don't crash (close menu and/or remove emoji). ### Operating System MacOS ### AppFlowy Version(s) Version 0.7.4 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@annieappflowy commented on GitHub (Jan 3, 2025):

@LucasXu0 , what's the current status of this issue?

<!-- gh-comment-id:2569284457 --> @annieappflowy commented on GitHub (Jan 3, 2025): @LucasXu0 , what's the current status of this issue?
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#3029
No description provided.