-
Notifications
You must be signed in to change notification settings - Fork 19
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
Dancing Page #257
Comments
I believe installing 4.4.0a2 should help here (it did for me):
See the solution by @krassowski in jupyterlab/jupyterlab#17064 |
Thanks for the ping! If 4.4.0a2 does not help it may require jupyterlab/jupyterlab#17132 |
No, 4.4.0a2 did not help. In my case, the issue appears when the extension |
Hmmm... I tried to follow this note and the issue went away! When I turn in I have next extensions:
|
It sounds like it:
The problem is that some renderers like myst resize the cell during the rendering sequence, so they shift viewport as new cells are added to viewport. This pushes other cells out of the viewport, detaches them and attaches others - which can even result in an infinite feedback loop. There are two ways to solve it:
I explored (a) in jupyterlab/jupyterlab#17132 but it looks really tricky to get this one right as there are many corner cases and unanswered questions (for how long should we stabilise the cell? When we can assume the user stopped scrolling? etc). We may need to go for (b). |
Thanks @RRosio for tagging this, I didn't realize it could be connected to MyST! I can absolutely confirm that the problem disappears when uninstalling Not sure what the best course of action is, @krassowski, and I'm sorry to hear it's such a tricky problem. But at this time, I think sacrificing some performance gains is acceptable, given that the current scenario basically makes JupyterLab unusable :( |
Thanks! Following these steps to changing window mode to defer seems to have solved the issue. jupyterlab/jupyterlab#15795 (comment) In Settings Editor → Notebook → Windowing mode - Defer I did not have jupyterlab myst installed |
Thanks for reporting this, @itsmoa ! That makes it more, ahem, interesting 😉! I have no clue then - in my case it was very clear: I un/reinstalled lab-myst several times, and the problem's presence perfectly correlated with lab-myst. It's always possible that two different things are triggering the same annoying behavior, though. In my case, I wasn't touching the windowing mode at all. So who knows, perhaps what the MyST extension does has a similar effect as the windowing settings? Just speculating here, though - I don't know for sure and I'm not at all familiar with those code paths. |
The issue with
While I do not like it, for now |
Description
When enabled extension
jupyterlab-myst
and when you use mouse wheel then notebook start dancing with images in notebook or when you use built-in supportmermaid
generation images2025-01-11.08-31-58.mp4
A notebook for example:
dancing-page.ipynb.txt
The text was updated successfully, but these errors were encountered: