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

This commit is contained in:
Ronan Abhamon 2017-05-16 17:43:15 +02:00
parent f6c7ab202c
commit a6b5f41035

View file

@ -96,6 +96,13 @@ Item {
}
onTextChanged: _filter(text)
InvertedMouseArea {
anchors.fill: parent
enabled: searchBox._isOpen
onPressed: searchBox.closeMenu()
}
}
// -------------------------------------------------------------------------