fix(keyboard): close input sources popup on click out
This commit is contained in:
parent
cdd7342d6f
commit
85d9f9dbfc
1 changed files with 1 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ fn popover_button(id: DefaultKey, expanded: bool) -> cosmic::Element<'static, Me
|
||||||
if expanded {
|
if expanded {
|
||||||
cosmic::widget::popover(button)
|
cosmic::widget::popover(button)
|
||||||
.popup(popover_menu(id))
|
.popup(popover_menu(id))
|
||||||
|
.on_close(Message::ExpandInputSourcePopover(None))
|
||||||
.into()
|
.into()
|
||||||
} else {
|
} else {
|
||||||
button.into()
|
button.into()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue