Fix drawer JavaScript timeout by setting explicit initial value

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 11:34:41 +01:00
parent 79a47e034e
commit 3bbbdc827c

View File

@@ -86,7 +86,7 @@ def index():
# ------------------------------------------------------------------ # ------------------------------------------------------------------
# Sidebar (rendered AFTER helpers are attached) # Sidebar (rendered AFTER helpers are attached)
# ------------------------------------------------------------------ # ------------------------------------------------------------------
with ui.left_drawer().classes('q-pa-md').style('width: 350px'): with ui.left_drawer(value=True).classes('q-pa-md').style('width: 350px'):
render_sidebar(state) render_sidebar(state)
# ------------------------------------------------------------------ # ------------------------------------------------------------------