Skip to content

Fix result grid losing scroll state when switching query editors. #19670

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aasimkhan30
Copy link
Contributor

Pull Request Template – vscode-mssql

Description

This PR fixes #18666

Code Changes Checklist

  • New or updated unit tests added
  • All existing tests pass (npm run test)
  • Code follows contributing guidelines
  • Telemetry/logging updated if relevant
  • No regressions or UX breakage

Reviewers: Please read our reviewer guidelines

aasimkhan30 and others added 3 commits June 26, 2025 23:46
- Introduced new enums for scroll position management in singletonStore.
- Implemented methods to set and get grid scroll positions in the table and utils.
- Updated QueryResultPane to load and store scroll positions on scroll events.
…e unnecessary logging and adjust row height constant
Copy link

github-actions bot commented Jun 27, 2025

PR Changes

Category Main Branch PR Branch Difference
Code Coverage 59.42% 59.33% ⚪ 0.00%
VSIX Size 15486 KB 15503 KB ⚪ 17 KB ( 0% )
Webview Bundle Size 3772 KB 3776 KB ⚪ 4 KB ( 0% )

@aasimkhan30 aasimkhan30 changed the title Fix result grid losing state when switching query editors. Fix result grid losing scroll state when switching query editors. Jun 28, 2025
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

Successfully merging this pull request may close these issues.

Results view scrolls back to top when switching tabs
1 participant