[GH-ISSUE #6050] [Bug] Space not immediately inserted while typing a comment in a array in code block. #2683

Open
opened 2026-03-23 21:24:26 +00:00 by mirror · 0 comments
Owner

Originally created by @henri9813 on GitHub (Aug 23, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6050

Bug Description

when I am in a code block, I often type a sentence or code in a comment

And it's disturbing the caret not move when I press space until I continue my sentence ( see the video, it's hard to explain in text ).

How to Reproduce

Create a code block in PHP, or another programming language ( the case Is maybe more global ).

Declare an array in the code block, and try to type a comment inside.

You will see the space will not be inserted while another character was typed.

Expected Behavior

My space is immediately inserted.

Operating System

MacOS

AppFlowy Version(s)

0.6.6

Screenshots

https://github.com/user-attachments/assets/703954cf-7f9c-4514-9dbf-eca5ee41a2cf

Additional Context

No response

Originally created by @henri9813 on GitHub (Aug 23, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6050 ### Bug Description when I am in a code block, I often type a sentence or code in a comment And it's disturbing the caret not move when I press space until I continue my sentence ( see the video, it's hard to explain in text ). ### How to Reproduce Create a code block in PHP, or another programming language ( the case Is maybe more global ). Declare an array in the code block, and try to type a comment inside. You will see the space will not be inserted while another character was typed. ### Expected Behavior My space is immediately inserted. ### Operating System MacOS ### AppFlowy Version(s) 0.6.6 ### Screenshots https://github.com/user-attachments/assets/703954cf-7f9c-4514-9dbf-eca5ee41a2cf ### Additional Context _No response_
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#2683
No description provided.