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

When using the right arrow to navigate to an empty line, need to press the right arrow twice to get the cursor to the next line #7994

Open
ununian opened this issue Aug 16, 2024 · 0 comments

Comments

@ununian
Copy link
Contributor

ununian commented Aug 16, 2024

iShot_2024-08-16_13 21 42

But using the mouse to click directly on the selection will not be a problem。

I have observed that when I press the right arrow key at the end of the previous line, the dom rang is to the left of ZeroWidthSpace (position 0, offset === 0), and pressing the right arrow key again navigates to the right of ZeroWidthSpace (position 1, offset === 1). If you click with the mouse, it will go directly to position 1.

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

No branches or pull requests

1 participant