diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-12-11 12:16:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-06 14:19:19 +0100 |
commit | d44b6da7c243ded8a5cae1d0e2a77c8ef74c33f6 (patch) | |
tree | 20d7d1b897cbd14e95c2b1fcf2303dd8d65a75e0 /examples/dbus | |
parent | f864bdaf592412acccae6b6c561a76bbfe35a1f0 (diff) |
iOS: change logic for when to scroll screen
The current implementation will stop scrolling the screen to reveal
the cursor if the input item changes transformation. This to not
interfere with flicking etc. This strategy turns out to be too
strict, as some qml apps/games can easily have small animations
applied (e.g qtquick cork board example) that moves or scales
the text areas (or their parents) upon focus.
So instead of relying on input item transformation, we now
scroll whenever the cursor changes position inside the input
item (in addition to orientation changes etc). We also
refactor scrollRootView into two functions, since we in
many cases know if the keyboard should scroll up or down
already when the call is made.
Change-Id: If5bf349139eed69823cfc8986bb4b32c93bdf91b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'examples/dbus')
0 files changed, 0 insertions, 0 deletions