Stacked widget dont work
See original GitHub issueOn latest version this code produces error in chrome console.
import ipywidgets
ipywidgets.Stacked()
Error: Cannot find model module @jupyter-widgets/controls@1.5.0, StackedModel
Tried regenerate model schema (generate-spec.py) with no result.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
StackedWidget does not works properly - Stack Overflow
I have the following code snipet in my program. I was about to use a stacked widget as my central widget. The class...
Read more >Anyone have trouble stacking widgets? - Apple Community
Been trying to create a stacked widget. Can't get the stackee to stay still. I can create folders hovering an icon over another, ......
Read more >10 Quick Fixes for When Widgets Aren't Working on Your ...
10 Quick Fixes for When Widgets Aren't Working on Your iPhone or iPad · 1. Restart Your iPhone or iPad · 2. Update...
Read more >Stacked widget not displaying properly, is this happening to ...
It's because you're using a stack size that's too big to be displayed in the pinned window with one already on top.
Read more >18 solutions to fix widgets not working on iPhone and iPad
Many times the widgets may not work due to a bug in the app. For example, if a third-party widget doesn't refresh or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Colab’s in-progress support for 3rd party widgets builds off of the ipywidgets 8.0 alpha so it can be used- an example is: https://colab.research.google.com/gist/blois/2eed369f917b6e71a717684a65a06a84/stacked_widget.ipynb
I’m seeing an error when the
selected_index
is not specified forwidgets.Stacked
. I believe it comes fromnull
being allowed here: https://github.com/jupyter-widgets/ipywidgets/blob/51cb73a0b31ed3f087de52d5122e565aa47b45f6/ipywidgets/widgets/widget_selectioncontainer.py#L19But then that doesn’t appear to be handled here: https://github.com/jupyter-widgets/ipywidgets/blob/51cb73a0b31ed3f087de52d5122e565aa47b45f6/packages/controls/src/widget_selectioncontainer.ts#L442-L445
(But this error may be Colab-specific) (edit: specifying
selected_index
does appear to fix the issue in the binder link as well)@YoraiLevi ipywidgets.Stacked not working in colab is another issue: https://github.com/googlecolab/colabtools/issues/498#issuecomment-956321234