SearchField losing focus when placed in (Silica)ListView header [not relevant]
When SearchField component placed into a (Silica)ListView header as in this example it loses focus every model change. After moving SearchField out of ListView it is not losing focus anymore. So, either the example is incorrect or SearchField or (Silica)ListView should be fixed.
The example contains a line specifically with the comment "// prevent newly added list delegates from stealing focus away from the search field". Are you actually using that line?
ovekaaven ( 2014-04-02 00:57:45 +0200 )editFor reference, @coderus gave a workaround for this on the development mailing list : https://lists.sailfishos.org/pipermail/devel/2013-December/002251.html
One should put
Damien Caliste ( 2015-05-19 11:30:25 +0200 )editcurrentItem: -1
in the listView.I closed it because: https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-searchfield.html/
coderus ( 2015-05-19 12:19:57 +0200 )edit