← Back to team overview

ubuntu-phone team mailing list archive

[Bug?] Impossible to set focus to a TextField in the header

 

Hi,
I'm having troubles setting focus to a TextField in the header of a
Page.

I produced a little example you can find attached. If you run it, you'll
have a TextField in the page with focus set correctly, but if you
decomment 

//contents: searchInput

in the head and remove 

anchors.top: searchInput.bottom

from the Rectangle (I added it only to have a better contrast and see
where is the TextField) you'll have a TextField in the head, console
says focus is true, but you can't type in the TextField without clicking
on it before.

Any idea?

Regards,
R.
-- 
www.rpadovani.com

Attachment: test.qml
Description: Binary data

Attachment: signature.asc
Description: OpenPGP Digital Signature


Follow ups