You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With jupyterlab-myst installed, scrolling over the notebook is not smooth. Specifically, when I try to scroll up, it can sometimes jump back, and I have to scroll multiple times to get to the place I want. Like the following screen recording:
Kooha-2024-06-14-21-56-28.mp4
Without jupyterlab-myst installed, I can scroll smoothly without issue.
The problem is that myst changes height of the cell after it is attached; this pushes the viewport down, which in turns detaches the cell, preventing user from scrolling up. There may be a way to fix it upstream in JupyterLab.
In the meantime a simple solution would be to cache the rendered content so that it is shown immediately when cell gets attached. It seems that the markdown cells when rendered with myst start from a blank state and are populated afterwards.
To make it easier to reproduce I would suggest using a markdown cell with admonition and a mermaid diagram.
Description
With jupyterlab-myst installed, scrolling over the notebook is not smooth. Specifically, when I try to scroll up, it can sometimes jump back, and I have to scroll multiple times to get to the place I want. Like the following screen recording:
Kooha-2024-06-14-21-56-28.mp4
Without jupyterlab-myst installed, I can scroll smoothly without issue.
Reproduction steps:
Create a new venv
Install jupyterlab and jupyterlab-myst
Launch JLab and create a notebook
Put something in and make it scrollable
Scroll to the bottom and slowly scrolling up
Proposed solution
Sorry, I don't have any idea what's causing this issue.
Additional notes
Maybe it is related to jupyterlab/jupyterlab#15795, but I can't reproduce that issue without jupyterlab-myst installed.
Environment:
The text was updated successfully, but these errors were encountered: