-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Flickering notebook toolbar items when resizing the window #7311
Comments
cc @brichet who may have an idea about what might be causing this behavior |
Thanks @jtpio for the ping.
|
It was found while testing #7301 on Binder with Firefox 124. |
Thanks for the link, I was about to open an issue about notebook width 😄 It also happens with the sidebar, so it is not related to the computation of the item widths. |
It seems that only the widgets on the right of the toolbar are affected. |
I think these items come from this extension: https://github.com/manics/jupyter-offlinenotebook Last time I checked they were added via the toolbar API directly, and not using the settings system (which could be the reason?) |
#7128 might be related. |
Yes, it might be related, if the flickering is due to some kind of floating position of items. |
The flickering is due to (1) the wrong position of the items because of order insertion (see #7128 (comment)) and (2) the storage of the expected position in a map instead of the real position after insertion here. The second problem should be easy to fix in Jupyterlab, I'll open a PR. |
Resizing the browser changes the position of the notebook toolbar items:
resize-notebook-toolbar.webm
However this does not seem to be an issue with JupyterLab:
resize-jupyterlab-notebook.webm
The text was updated successfully, but these errors were encountered: