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

🐢 ipwidgets seem to 'disconnect' in thebe-lite #771

Open
stevejpurves opened this issue Sep 6, 2024 · 4 comments · Fixed by jupyterlite/pyodide-kernel#148
Open

🐢 ipwidgets seem to 'disconnect' in thebe-lite #771

stevejpurves opened this issue Sep 6, 2024 · 4 comments · Fixed by jupyterlite/pyodide-kernel#148
Labels

Comments

@stevejpurves
Copy link
Collaborator

This is reproducible from both thebe in HTML and thebe-core/thebe-react.

After starting activating thebe in lite mode, and running a notebook cell that contains ipywidgets, the cell executes as expected but when interacting with sliders, only the initial change from each slider seems to take effect, after that the slider does not influence the output any more. It's like after the first message is processed, no further messages are?

lite-ipywidgets.mp4
@stevejpurves
Copy link
Collaborator Author

@jtpio after upgrading to 4.2.0 and updating all our jupyterlab / widgets dependencies I'm seeing this only in lite, not in connections to servers. Have you encountered this before in jupyterlite itself?

@stevejpurves
Copy link
Collaborator Author

Issue is now reproducible here: https://jupyter-book.github.io/thebe/

@jtpio
Copy link
Contributor

jtpio commented Sep 9, 2024

Maybe it's related to this issue opened recently in JupyterLite with widgets misbehaving in JupyterLite only (but not in JupyterLab): jupyterlite/jupyterlite#1465

(although haven't checked yet, just linking for reference)

@jtpio
Copy link
Contributor

jtpio commented Dec 17, 2024

FYI 0.4.6 was just released and should hopefully fix the issue: https://github.com/jupyterlite/pyodide-kernel/releases/tag/v0.4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants