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 editing same file in different panes, saving one file will cause other pane(s) to scroll to bottom of file #2454

Open
4 tasks done
mikeerickson opened this issue Nov 11, 2020 · 6 comments
Labels

Comments

@mikeerickson
Copy link

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: macOS
  • Vetur version: 0.29.1
  • VS Code version:

Version: 1.52.0-insider
Commit: 65f805d98e798b979901b74d4c8810c05455b792
Date: 2020-11-10T09:49:58.382Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 19.6.0

Problem

As of 0.29.1 when editing the same file in two different panes, when saving in one pane, it scrolls the other pane(s) to the bottom of the file. I have been doing this for a LONG TIME and I have never had Vetur do this before (I just updated to 0.29.1 today)

Reproducible Case

Simple have a file which is big enough to cause scroll and edit and save the file in one pane, the other pane(s) will scroll to the bottom of the file.

@yoyo930021
Copy link
Member

If you try to use stable VSCode version?

@yoyo930021
Copy link
Member

Possibly related: #841

@mikeerickson
Copy link
Author

Problem still occurs with release version. It could very well be related to something else, but it just started happening yesterday and I have been working on this source file for quite some time?

@yoyo930021
Copy link
Member

Problem still occurs with release version. It could very well be related to something else, but it just started happening yesterday and I have been working on this source file for quite some time?

  1. Do you open format on save?
  2. What is vetur version working well?

@mikeerickson
Copy link
Author

So far, it seems v0.31.1 is working correctly. I will report back tomorrow after I have confirmed all is good

@mikeerickson
Copy link
Author

Well, the problem still persists. I have had to move to using Prettier for formatting as this is too chaotic to my workflow. I will check back again when I have more time to allocate to assist in tracking down the issue.

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

No branches or pull requests

2 participants