fix(keyboard): close input sources popup on click out

This commit is contained in:
Michael Aaron Murphy 2024-09-25 15:28:45 +02:00
parent cdd7342d6f
commit 85d9f9dbfc
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -215,6 +215,7 @@ fn popover_button(id: DefaultKey, expanded: bool) -> cosmic::Element<'static, Me
if expanded {
cosmic::widget::popover(button)
.popup(popover_menu(id))
.on_close(Message::ExpandInputSourcePopover(None))
.into()
} else {
button.into()