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] The cursor in code editors always has a offset to its actual position. #484

Open
li-xin-yi opened this issue Aug 28, 2023 · 7 comments

Comments

@li-xin-yi
Copy link
Collaborator

I feel very uncomfortable to test my code in this case.

cursor-offset

@lihebi
Copy link
Collaborator

lihebi commented Aug 28, 2023

I can't reproduce that. Maybe try a clean start?

@senwang86
Copy link
Collaborator

I can't produce the behavior on Safari/Mac either.

@li-xin-yi
Copy link
Collaborator Author

I also tried on Safari/Mac, no such behaviors. But it frequently occurs on Chrome.

@lihebi
Copy link
Collaborator

lihebi commented Aug 28, 2023

I use chrome, I cannot reproduce.

@li-xin-yi
Copy link
Collaborator Author

start with an empty code node, everything works normally within the first 2 typed letters:
image
But the cursor starts to drift after typing the third one.

Besides, I feel the font family looks different since PR #467 , both the code editor and the dashboard:

image

But no such changes on Safari.

@lihebi
Copy link
Collaborator

lihebi commented Aug 28, 2023

But the cursor starts to drift after typing the third one.

I know what you mean, and I couldn't reproduce it.

I suspect it's some caching problem. Try clone a fresh copy of source code, and create a fresh docker stack, and see if the issue disappears.

@lihebi
Copy link
Collaborator

lihebi commented Aug 28, 2023

I feel the font family looks different since PR #467

It should have been caused by #468 when I switched to Vite, probably not a big deal.

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

3 participants