tray_popover_hide

Function tray_popover_hide 

Source
pub fn tray_popover_hide(app: AppHandle<Wry>) -> Result<(), String>
Expand description

Hide the tray popover. Invoked from the main window (Escape keybind in ipc.js) so the user can dismiss the popover from any focused window — tray-popover.js’s own document.keydown Escape listener only fires when the popover webview itself has keyboard focus, which doesn’t happen if the popover was shown with focus: false and the user never clicked into it.