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

🐛 ipyvuetify widgets do no render in the vuetify-base template when there is a VBox in between. #57

Open
maartenbreddels opened this issue Mar 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@maartenbreddels
Copy link
Member

Description

ipyvuetify widgets do no render in the vuetify-base template when there is a VBox in between.

Reproduce

The following code snippets show what does render, and what does not (Note that they all render in the classical notebook):

direct child of a vuetify container

import ipyvuetify as v
import ipywidgets as widgets

v.Container(children=[
    v.Btn(children=['does']),
    v.Btn(children=['work']),
], _metadata={'mount_id': 'content'})

vbox in between

import ipyvuetify as v
import ipywidgets as widgets

v.Container(children=[
    widgets.VBox(children=[
            v.Btn(children=['does not']),
            v.Btn(children=['work']),
        ])
], _metadata={'mount_id': 'content'})

vbox + container in between

import ipyvuetify as v
import ipywidgets as widgets

v.Container(children=[
    widgets.VBox(children=[
        v.Container(children=[
            v.Btn(children=['also does not']),
            v.Btn(children=['work']),
        ])
    ])
], _metadata={'mount_id': 'content'})

non-ipyvuetify as leaf nodes:

import ipyvuetify as v
import ipywidgets as widgets

v.Container(children=[
    widgets.VBox(children=[
        widgets.Button(description='but this does'),
        widgets.Button(description='work'),
    ])
], _metadata={'mount_id': 'content'})
@maartenbreddels maartenbreddels added the bug Something isn't working label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant