mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-06 20:23:08 +00:00
fix(ui/modules/Common/Form/SearchBox): handle click outside menu
This commit is contained in:
parent
f6c7ab202c
commit
a6b5f41035
1 changed files with 7 additions and 0 deletions
|
|
@ -96,6 +96,13 @@ Item {
|
|||
}
|
||||
|
||||
onTextChanged: _filter(text)
|
||||
|
||||
InvertedMouseArea {
|
||||
anchors.fill: parent
|
||||
enabled: searchBox._isOpen
|
||||
|
||||
onPressed: searchBox.closeMenu()
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue