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

Fix scroll-forward-disable setting #16411

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Dec 2, 2023

The final parameter, updateBottom, controls not just whether the
_virtualBottom is updated, but also whether the position is clamped
to be within the existing _virtualBottom. Setting this to false
thus broke scroll-forward as the _virtualBottom was now a constant.

Validation Steps Performed

  • Disable scroll-foward
  • Press and hold Ctrl+C
  • It scrolls past the viewport bottom ✅

@lhecker lhecker added Product-Conhost For issues in the Console codebase Area-VT Virtual Terminal sequence support Priority-0 Bugs that we consider release-blocking/recall-class (P0) zInbox-Bug Ignore me! labels Dec 2, 2023
@lhecker lhecker added this to the Terminal v1.19 milestone Dec 2, 2023
@lhecker lhecker added the AutoMerge Marked for automatic merge by the bot when requirements are met label Dec 4, 2023
@lhecker lhecker merged commit ab7a2f1 into main Dec 4, 2023
15 of 17 checks passed
@lhecker lhecker deleted the dev/lhecker/fix-disable-scroll-forward branch December 4, 2023 23:07
DHowett pushed a commit that referenced this pull request Dec 4, 2023
The final parameter, `updateBottom`, controls not just whether the
`_virtualBottom` is updated, but also whether the position is clamped
to be within the existing `_virtualBottom`. Setting this to `false`
thus broke scroll-forward as the `_virtualBottom` was now a constant.

## Validation Steps Performed
* Disable scroll-foward
* Press and hold Ctrl+C
* It scrolls past the viewport bottom ✅

(cherry picked from commit ab7a2f1)
Service-Card-Id: 91258882
Service-Version: 1.19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VT Virtual Terminal sequence support AutoMerge Marked for automatic merge by the bot when requirements are met Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Conhost For issues in the Console codebase zInbox-Bug Ignore me!
Projects
Development

Successfully merging this pull request may close these issues.

3 participants