-
Notifications
You must be signed in to change notification settings - Fork 62
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
input cursor between lines (when using custom document zoom levels) #32
Comments
What browser/OS do you experience this with? Does changing the browser fix the issue or not? Do you have a text snippet that would help reproduce the issue? If you could reduce the snippet to as few lines as possible, that would help as well. Meanwhile, as a workaround, disabling syntax highlighting should fix the caret positioning issue. |
On Mon, Dec 31, 2018 at 11:59 PM Igor Afanasyev ***@***.***> wrote:
What browser/OS do you experience this with?
Chrome on macOS
Does changing the browser fix the issue or not?
Yes! I cannot reproduce the issue in Firefox or Safari.
Do you have a text snippet that would help reproduce the issue? If you
could reduce the snippet to as few lines as possible, that would help as
well.
The specific text doesn't seem to matter. As long as there 25 lines or
more, I can reproduce the problem.
Meanwhile, as a workaround, disabling syntax highlighting should fix the
caret positioning issue.
Yes, that works. Of course I really like to use syntax highlighting. ;-)
… —
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAE10DgTdMKQ916PoFEX4F0Tbl0yAoPrks5u-vk4gaJpZM4ZglAR>
.
--
R. Mark Volkmann
Object Computing, Inc.
|
@zimnx thanks! I can definitely see caret misalignment at 75% zoom level. @mvolkmann, are you also using some custom zoom level? |
I didn't realize I was at a custom zoom level, but it turns out I was at 90%. Switching to 100% fixed the issue. Should the cursor be positioned correctly at any zoom level? On "The Go Playground" when I change the zoom level the cursor is still positioned correctly. |
Oh yeah, for sure. So it's definitely a bug; I just wanted to make sure if it's the same kind of bug or a different one. :) |
Same problem here with Chrome on Fedora Linux and a custom font scaling. |
Lately I've noticed that for longer code snippets the placement of the insert cursor is off. It becomes unclear which line it is on. I suspect this is a CSS issue related to line height.
The text was updated successfully, but these errors were encountered: