Skip to content

The wrong cursor position was inserted when clicking at the end of the paragraph #1588

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

Open
1 task
sailxjx opened this issue Apr 7, 2025 · 4 comments
Open
1 task
Assignees
Labels
bug Something isn't working

Comments

@sailxjx
Copy link

sailxjx commented Apr 7, 2025

Describe the bug
When click the end of the paragraph, if the click area is in the editor, the position is right, if the area is in the padding area, the cursor will be inserted in the head of the paragraph, which I think need to be improved, because the user can't figure out where is the padding area.

I've recorded a video of this bug

Screen.Recording.2025-04-07.at.11.16.55.mov

To Reproduce
<clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
@sailxjx sailxjx added the bug Something isn't working label Apr 7, 2025
@NitanJana
Copy link

I think it's resolved in #1553

@nperez0111
Copy link
Contributor

I think so too

@sailxjx
Copy link
Author

sailxjx commented Apr 10, 2025

The problem still exist, I've upgraded to v0.28. What I mean is to click on the padding area of the editor, not inside the editor. This area is visually indistinguishable from the inside of the editor, and the mouse behaves the same way. Please check my video, you can reproduce this issue on the official website. @nperez0111 @NitanJana

@YousefED YousefED reopened this Apr 10, 2025
@NitanJana
Copy link

Yes @sailxjx , I could reproduce this on chrome as well as the example sandbox.

Image

I was working with firefox/zen and this bug isn't present there. Maybe browser stylesheet issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants