typora/typora-issues

[Bug] In an empty list item, the caret position is not vertically centered and will JUMP after insert first letter

Opened this issue · 0 comments

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
In an empty list item, the caret position is not vertically centered and will JUMP to center position after insert first letter, resulting a visual flickering.

To Reproduce
Steps to reproduce the behavior:

  1. create a ul with one item by typing - and then a space
  2. then you will see the caret position is above the center line
  3. after you enter another letter, the caret positon will be centered

Expected behavior
Caret always stay vertically centerd

Screenshots / Screencasts
image
image
image

Sample Markdown File

- a

Desktop (please complete the following information):

  • OS: macOS Sequoia 15.0.1

Typora Version
1.9.4