fix(ui): improve theme selector dismissal behavior on mobile

This commit is contained in:
spinline
2026-02-01 17:00:41 +03:00
parent 3289f2926d
commit 4fa325f4f3
3 changed files with 19 additions and 1 deletions

View File

@@ -52,6 +52,11 @@ pub fn StatusBar() -> impl IntoView {
}
}
}
// Close the dropdown by blurring the active element
if let Some(active) = doc.active_element() {
let _ = active.blur();
}
}
>
{theme}