Skip to content

show_drawer option of SinglePageWithDrawerLayout with vuetify 3 #32

Description

@SebastienRietteMTO

The show_drawer option is not taken into account with the following code:

from trame.app import TrameApp
from trame.ui.vuetify3 import SinglePageWithDrawerLayout

class Demo(TrameApp):
    def __init__(self):
        super().__init__(client_type="vue3")
        with SinglePageWithDrawerLayout(self.server, full_height=True, show_drawer=False) as self.ui:
            self.ui.title.set_text("Test")

Demo().server.start()

If the line v_model=(f"{drawer_name}", {drawer_name: show_drawer}), in ui.vuetify3.py is replaced by v_model=(f"{drawer_name}", show_drawer), (as it is with vuetify 2), the behaviour is restored.

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