Fix tab selection to bring the tab into view (#8832)
## PR Checklist * [x] Closes https://github.com/microsoft/terminal/issues/3638 * [x] CLA signed. * [ ] Tests added/passed * [ ] Documentation updated. * [ ] Schema updated. * [x] I've discussed this with core contributors already. ##Detailed Description of the Pull Request / Additional comments A workaround for https://github.com/microsoft/microsoft-ui-xaml/issues/3945. Thanks to @michael-hawker and @chingucoding for the suggested solution.
This commit is contained in:
parent
f196285824
commit
12b12d5b07
|
@ -2208,6 +2208,8 @@ namespace winrt::TerminalApp::implementation
|
|||
_UpdateMRUTab(index);
|
||||
}
|
||||
|
||||
tab.TabViewItem().StartBringIntoView();
|
||||
|
||||
// Raise an event that our title changed
|
||||
_titleChangeHandlers(*this, tab.Title());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue