Skip to content
Discussion options

You must be logged in to vote

I was just about to propose something similar:

with ui.left_drawer().classes('bg-gray-100'):
    with ui.button("Click"):
        with ui.menu().props('anchor="top right" self="top left"') as menu:
            ui.item("Settings").classes("text-bold")
            ui.menu_item("Option 1")
            ui.menu_item("Option 2")
            ui.menu_item("Close", menu.close)

I'm not sure about the pros and cons of @python-and-fiction's q-popup-proxy though.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@frankvp11
Comment options

@python-and-novella
Comment options

Answer selected by frankvp11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants