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

Cursor keeps shifting to the top of notebooks in JLab v4 #16144

Closed
erkin98 opened this issue Apr 10, 2024 · 5 comments
Closed

Cursor keeps shifting to the top of notebooks in JLab v4 #16144

erkin98 opened this issue Apr 10, 2024 · 5 comments
Labels
bug status:Duplicate status:Needs Triage Applied to new issues that need triage

Comments

@erkin98
Copy link
Contributor

erkin98 commented Apr 10, 2024

Description

Screencast_10.04.2024_13.59.40.webm

Reproduce

  1. Go to Notebook (notebook opening with IDocumentManager.openOrReveal)
  2. Click on insert cell button
  3. Auto Scroll down happens
  4. See video

Expected behavior

It shouldn't go to that down

Context

  • Operating System and version: Linux Ubuntu 22.04
  • Browser and version: Chrome 123
  • JupyterLab version: 4.1.5
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@erkin98 erkin98 added the bug label Apr 10, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Apr 10, 2024
@erkin98
Copy link
Contributor Author

erkin98 commented Apr 10, 2024

that does not happens when notebook opening with IDocumentManager.open

@JasonWeill
Copy link
Contributor

Are you using real-time collaboration (RTC)? If so, this may be a duplicate of #14106.

@erkin98
Copy link
Contributor Author

erkin98 commented Apr 16, 2024

Are you using real-time collaboration (RTC)? If so, this may be a duplicate of #14106.

yes, we are using RTC

@JasonWeill
Copy link
Contributor

Let's continue the conversation in #14106. Thank you for your contribution!

@andrii-i
Copy link
Contributor

I looked at this issue while trying to troubleshoot #14106. Auto scroll down described here and shown on video is a standard / expected behavior during the creation of a new cell. Viewport is expected to move / scroll to automatically show the new cell including during the creation of a new cell via "Insert a cell below (B)" as shown on video.

@erkin98 if you find this default behavior problematic, it would be more fruitful to open an issue about "Auto Scroll on new cell creation" to for example discuss a possibility of making such a behavior optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Duplicate status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

3 participants