Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Anemy
Copy link
Member

@Anemy Anemy commented Jun 10, 2025

COMPASS-9417

https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView#block

Previously it would scroll to the top of the input, which would be cumbersome when doing multi-line editing. With these changes we make sure it's in view, but won't scroll to the top if they're already in it.

@addaleax addaleax merged commit 3e86d30 into main Jun 10, 2025
121 of 128 checks passed
@addaleax addaleax deleted the COMPASS-9417-shell-scroll-input branch June 10, 2025 22:13
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.

3 participants