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: Typing certain characters in an open editor causes the window to scroll down. #275

Closed
Jeff-Lowrey opened this issue Jun 5, 2024 · 3 comments

Comments

@Jeff-Lowrey
Copy link

When I have a document open, whether I'm using the OpenAPI view or not, the screen will scroll down when I type certain characters.

In particular, if I type a space, a tab, or a backspace (and maybe more that I haven't isolated), the editor will scroll down one line for each character.

It sometimes takes typing two characters before it scrolls, but once it does, then any of those characters cause it to scroll down one line.

To be more clear about what I mean by "scroll down",
If the top of the editor is showing line 5 of the file, when I type, it moves to line 6 and then line 7 and etc.

I'm using OpenAPI v4.26.2 plugin with VSCode v1.89.1 (electron 28.2.8, node.js 18.18.2, win10 x64)

@Jeff-Lowrey Jeff-Lowrey changed the title Typing certain characters in an open editor causes the window to scroll down. BUG: Typing certain characters in an open editor causes the window to scroll down. Jun 5, 2024
@ak1394
Copy link
Collaborator

ak1394 commented Jun 5, 2024

Thanks for reporting the issue. This is likely caused by code lenses being added/removed during editing. I will release a fix shortly.

@ak1394
Copy link
Collaborator

ak1394 commented Jun 5, 2024

I've published fix in v4.26.3, please let me know if the issue has been resolved.

@Jeff-Lowrey
Copy link
Author

It looks fixed.

Thanks for the rapid response!

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

2 participants