Skip to content

AppBar doesnt show with just Tabs as content #634

Description

@Jhsmit
@solara.component
def Page():
    solara.Title("title")
    tab_selection = solara.use_reactive(0)

    with solara.AppBar():
        # solara.Button(icon_name="mdi-logout", icon=True)
        with solara.lab.Tabs(value=tab_selection.value, on_value=tab_selection.set, align="center"):
            solara.lab.Tab("Tab 1")
            solara.lab.Tab("Tab 2")

    solara.Card("main")
    solara.Sidebar("sidebar")

shows as:
image

with button uncommented:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions