Comment 1 for bug 1566713

Revision history for this message
Andrea Bernabei (faenil) wrote : Re: OSK does not work as expected

I'm not familiar with Page code,
but I don't see any logic that would make it work without anchors there.

The Page is simply pushed up, and the content at the top slides under the header.

I verified that the same happens on UC 1.2 as well.

There are 2 options:
either
- it has always been broken, and should be handled better in the MainView/Page/whatever component
or
- it is working as designed and adding "anchorToKeyboard: true" is intended to just anchor to the bottom, the developer should be responsible for anchoring the Page to the top so that it resizes.

If the latter is true, the code on the tutorial is wrong (missing "anchors.fill: parent") and the documentation of anchorToKeyboard should probably say something about the anchors :)