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

Improve window auto scrolling behavior #1947

Open
mdiehl216 opened this issue Aug 31, 2024 · 5 comments
Open

Improve window auto scrolling behavior #1947

mdiehl216 opened this issue Aug 31, 2024 · 5 comments

Comments

@mdiehl216
Copy link

When an input cell is just at the bottom of the window, the standard behavior after hitting enter is that the window scrolls up automatically. But it scrolls up so far that the previous input and its output are out of vision.

This often undesirable. After hitting enter, I usually want to see the output.

I use Windows OS.

Desirable is that the window scrolls up so far that either the last input cell or at least its output are visible at the top of the window.

Thank you!

@robert-dodier
Copy link
Collaborator

Thank you for the bug report. Looks like this problem is related to #1939.

@mdiehl216
Copy link
Author

Yes. It seems to me that in both bug reports the scrolling is indicated correctly, only the final scrolling position is wrong.

@gunterkoenigsmann
Copy link
Member

The problem is that I never found out how scrolling actually works...

@robert-dodier
Copy link
Collaborator

git grep scroll shows that scrolling is mentioned in various places in the code base; the problem is just to identify the place or places where scrolling is being carried out in order to expose stuff at the bottom of the window, and make the scroll distance smaller (e.g. scroll only enough to make the new cell visible). I will try to look at that in the near future although if someone else can cover it, that would be terrific.

@mdiehl216
Copy link
Author

mdiehl216 commented Sep 6, 2024 via email

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

No branches or pull requests

3 participants