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

Results view scrolls back to top when switching tabs #18666

Open
mtaylorfsmb opened this issue Feb 12, 2025 · 0 comments
Open

Results view scrolls back to top when switching tabs #18666

mtaylorfsmb opened this issue Feb 12, 2025 · 0 comments
Assignees
Labels
Area - Query Result Pri: 2 Priority 2 User-filed Filed by a public user

Comments

@mtaylorfsmb
Copy link

Type: Feature Request

If you have query results displayed in the results window and they are more than a page long then the window jumps back to the top result if you leave the document tab and come back. The easiest way to replicate this is to have a query that returns JSON in a column.

  1. Run the query.
  2. Scroll to the middle or end of the results in the results window.
  3. Click on the JSON column to open it in a new editor window.
  4. Close the new window and return to the SQL query.

The results window has jumped back to the top of the results. It should remain unchanged such that you are still looking at the row you previously clicked on.

This has a detrimental impact on functionality:

  • You have to keep track of which row(s) you're looking at if you switch away from the editor and back.
  • If the resultset is large then you have to continually scroll back to your previous location if you are examining columns in another window.

Extension version: 1.28.0
VS Code version: Code 1.97.1 (e249dada235c2083c83813bd65b7f4707fb97b76, 2025-02-10T13:13:58.153Z)
OS version: Windows_NT x64 10.0.26100
Modes:

@Benjin Benjin added Area - Query Result User-filed Filed by a public user labels Feb 18, 2025
@cssuh cssuh added the Pri: 2 Priority 2 label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area - Query Result Pri: 2 Priority 2 User-filed Filed by a public user
Projects
None yet
Development

No branches or pull requests

3 participants