Fix search input stealing focus on app launch - explicitly focus main widget
This commit is contained in:
@@ -236,6 +236,9 @@ class CalendarApp(App):
|
||||
self._update_status()
|
||||
self._update_title()
|
||||
|
||||
# Focus the week grid (not the hidden search input)
|
||||
self.query_one("#week-grid", WeekGrid).focus()
|
||||
|
||||
def _on_ipc_message(self, message: IPCMessage) -> None:
|
||||
"""Handle IPC messages from sync daemon."""
|
||||
if message.event == "refresh":
|
||||
|
||||
Reference in New Issue
Block a user