-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Notebooks: Aligned scroll into view behaviour with vscode #13742
Conversation
… unfocused Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work as expected for me, see:
2024-05-29.16-58-10.mp4
Clicking on/deleting a cell still scrolls the (potentially non-existing) cell fully into view.
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
seems i forgot two places two disable scrolling. Thanks for finding! Should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me 👍
Something worth mentioning (but can be fixed in a separate PR) would be that focusing and then moving the cursor via the arrow keys scrolls inside of the notebook in VSCode. As the cursor needs to be kept in view. This doesn't work in Theia.
What it does
As in vscode clicking a cell to select it or deleting a cell and changing the selection that way should not move the newly selected cell into view
How to test
In a notebook test:
Follow-ups
Review checklist
Reminder for reviewers