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

Some widgets from ipywidgets v8 don't render #5745

Open
kjcho-msft opened this issue Jul 5, 2023 · 0 comments
Open

Some widgets from ipywidgets v8 don't render #5745

kjcho-msft opened this issue Jul 5, 2023 · 0 comments

Comments

@kjcho-msft
Copy link

Describe the bug
Some widgets from ipywidgets v8 don't render

To Reproduce
Make sure you have the ipywidgets v8 (e.g. v8.0.4) installed.

Try to render the tab widget:

import  ipywidgets as widgets
tab_contents = ['P0', 'P1', 'P2', 'P3', 'P4']
children = [widgets.Text(description=name) for name in tab_contents]
tab = widgets.Tab()
tab.children = children
tab.titles = [str(i) for i in range(len(children))]
tab

Expected behavior
The tab widget renders

Observed
Error: Uncaught (in promise) Class TextStyleModel not found in module @jupyter-widgets/controls@undefined

Screenshots
image

Additional context
Are there any plan to support ipywidgets v8? It looks like the following Jupyter-widgets packages (https://github.com/nteract/outputs/blob/master/packages/jupyter-widgets/package.json) need to be updated to support it.
"@jupyter-widgets/base": "^4.0.0",
"@jupyter-widgets/controls": "^3.0.0",

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

No branches or pull requests

1 participant