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

Scrolling in RTC session difficult when cell updates #314

Open
asteppke opened this issue May 17, 2024 · 1 comment
Open

Scrolling in RTC session difficult when cell updates #314

asteppke opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@asteppke
Copy link

asteppke commented May 17, 2024

With the current jupyter-collaboration 2.1.0 (and earlier) and jupyter lab 4.18 scrolling through the notebook becomes very difficult if there is a cell running with a lot of output in the "primary" jupyter lab.

To reproduce in a new notebook create the following example cell:

import time
for i in range(100_000_000):
    print(f"{i}, ", end="")
    time.sleep(0.05)

and open the notebook in a collaborative session in a second window / computer.

If the cursor is at the end of the notebook scrolling is nearly impossible. If the cell is collapsed the scroll bar jumps as in the following screencast:

GIF 17-05-2024 15-38-47

The user interface in the "primary" jupyter lab that executed the cell shows no issues.

This looks very similar to #310, only that the collapsing of the cell gets temporarily reversed.

@asteppke asteppke added the bug Something isn't working label May 17, 2024
@davidbrochart
Copy link
Collaborator

cc @afshin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants