Commit a6b5f410 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Common/Form/SearchBox): handle click outside menu

parent f6c7ab20
...@@ -96,6 +96,13 @@ Item { ...@@ -96,6 +96,13 @@ Item {
} }
onTextChanged: _filter(text) onTextChanged: _filter(text)
InvertedMouseArea {
anchors.fill: parent
enabled: searchBox._isOpen
onPressed: searchBox.closeMenu()
}
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment