Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
isunjn opened this issue Oct 13, 2024 · 0 comments

Comments

@isunjn
Copy link

isunjn commented Oct 13, 2024

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant