typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Cursor Control Bug Prevents Text Editing at Line #5779

Open GrahLnn opened 1 year ago

GrahLnn commented 1 year ago

Describe the bug

  1. Sometimes when selecting a piece of text with the cursor, there is a bug that prevents keyboard control when the cursor reaches the beginning or end of a line (making it impossible to delete or input new characters into the selected text). Careful reselection is necessary.

  2. And sometimes select inline Latex will auto select side "$" (see screencasts will more clear).

To Reproduce Hard to say, please see screencasts, need to try many times.

Expected behavior Normal character control.

Screenshots / Screencasts

https://github.com/typora/typora-issues/assets/67181515/0b72e593-04bc-409b-901a-1017635652e2

2.

https://github.com/typora/typora-issues/assets/67181515/a844e27b-0ae2-4dba-892e-2e42c1e0ef4f

Sample Markdown File Please attach or send us hi@typora.io the sample md file that may reproduce this.

Desktop (please complete the following information):

Typora Version version 1.6.7

Alalalalaki commented 10 months ago

Same problem in macOS 1.7.5