[PR #12296] [CLOSED] Fixed #11875. Enclosed configuration Frame in ScrollViewer to keep scroll position in settings pages #28964

Open
opened 2026-01-31 09:31:54 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12296
Author: @Jcabza008
Created: 1/31/2022
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 100e859 enclosed Frame in ScrollViewer to keep scroll position

📊 Changes

1 file changed (+15 additions, -12 deletions)

View changed files

📝 src/cascadia/TerminalSettingsEditor/MainPage.xaml (+15 -12)

📄 Description

Summary of the Pull Request

This PR attempts to solve issue #11875. I was able to make the scroll position persistent by enclosing the Frame in a ScrollViewer. Currently, the existing animation allows you to see that a reload happened, but the scroll position is never changed.

PR Checklist

Validation Steps Performed

I manually tested this behavior.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/12296 **Author:** [@Jcabza008](https://github.com/Jcabza008) **Created:** 1/31/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`100e859`](https://github.com/microsoft/terminal/commit/100e859d9d939c9e6f004f82b6adbf6fb6f0086f) enclosed Frame in ScrollViewer to keep scroll position ### 📊 Changes **1 file changed** (+15 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/MainPage.xaml` (+15 -12) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request This PR attempts to solve issue #11875. I was able to make the scroll position persistent by enclosing the `Frame` in a `ScrollViewer`. Currently, the existing animation allows you to see that a reload happened, but the scroll position is never changed. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #11875 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #11875. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed I manually tested this behavior. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:31:54 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28964