Open lagru opened 2 months ago
Thanks @lagru for the report :+1:
This looks similar to this issue opened on the JupyterLite repo: https://github.com/jupyterlite/jupyterlite/issues/1465
Do you know if this was already an issue with JupyterLite 0.3.0?
No, in JupiterLite 0.3.0 it works.
Description
It seems that there's an incompatibility between ipywidgets and JupyterLite 0.4.0. When I post the simple snippet below into an empty notebook cell and run it, the slider appears as expected. If I move the slider once the output changes as expected. If I move it again, the output doesn't update anymore.
I didn't find an existing issue on this, apologies if missed one.
Reproduce
Expected behavior
The output keeps updating, if the slider is moved multiple times.
Context
I noticed this issue while trying to get scikit-image's tutorials to run in JupyterLite. Initially I thought that using ipywidgets in JupyterLite was not yet possible but then discovered that you include a demo in your docs. I was surprised that it seemed to work fine in your demo and quickly discovered that you are using JupyterLite 0.3.0.
Current plan is to use JupyterLite 0.3.0 then for the tutorial.
Browser Output
Note, the `Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel` line appears just after opening an empty notebook.If using JupyterLab