When you change between open files it takes you back to the top

Issue #247 resolved
Matthew Petrie created an issue

When you open several files in the Pull Request, scroll down one file, change to another file and then go back to the original file it scrolls you back up to the top.

This makes reviewing functions and tests take much longer as everytime you want to check something in another file it scrolls back to the top.

Comments (14)

  1. Pramod Busam Account Deactivated

    @Matthew Petrie VS Code lets you double-click on the tab to keep it open, and you can open another file in a new tab to go back and forth between the files. Let us know if that helps.

  2. Matthew Petrie reporter

    @{557058:a30b5736-f3cf-41d7-aad0-99c9ffac78ce} that’s what I’ve done but when you change between those two open files it scrolls you back to the top each time you go between the two open Pull Request files

  3. Matthew Petrie reporter

    *it appears it doesn’t take you back to the top per say, it takes you back to the top of the first change

  4. Pramod Busam Account Deactivated

    @Matthew Petrie I think rendering the inline comments may be undoing the scroll position. We'll look into it.

    Meanwhile, to work around this issue, you can use the right-click menu item or the button on the top-right toolbar in the diff view to hide the comments temporarily while you are switching between files.

  5. Matthew Petrie reporter

    @{557058:a30b5736-f3cf-41d7-aad0-99c9ffac78ce} great to hear - tried hiding the comments but this didn’t solve the scrolling issue

  6. Matthew Petrie reporter

    @Alastair Wilkes This seems to have been fixed somewhere along the line as I just checked again and there is now no issue

  7. Log in to comment