Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Some widgets from ipywidgets v8 don't render #5745

Copy link
Copy link
Open
@kjcho-msft

Description

@kjcho-msft
Issue body actions

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",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.