Commit 673f94f
committed
fix(touch): stop zoom popping up onscreen keyboard
Previously, when you used pinch zoom on a mobile device, your onscreen
keyboard would often pop up. This happened because some messages which
you got during the zoom might normally trigger keyboard popup. Despite
us ignoring these messages during the zoom, we would replay them after
the zoom - popping up the keyboard when you released your fingers.
To fix this, we need to record whether we're in a post zoom replay. If
so, we should treat it as a situation where focusing the input should be
done without triggering the keyboard. The rest of the code there is
still important, so we can't avoid running these deferred messages or
even cutting out as much of the code as we do when in the regular zoom
state...
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I5699457a439cbdd8a63f9f3e429be8286a6a69641 parent 4702339 commit 673f94f
File tree
2 files changed
+13
-2
lines changed- browser/src
- canvas
- layer/tile
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
319 | 328 | | |
320 | 329 | | |
321 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2939 | 2939 | | |
2940 | 2940 | | |
2941 | 2941 | | |
| 2942 | + | |
2942 | 2943 | | |
2943 | 2944 | | |
| 2945 | + | |
2944 | 2946 | | |
2945 | 2947 | | |
2946 | 2948 | | |
| |||
3112 | 3114 | | |
3113 | 3115 | | |
3114 | 3116 | | |
3115 | | - | |
| 3117 | + | |
3116 | 3118 | | |
3117 | 3119 | | |
3118 | | - | |
| 3120 | + | |
3119 | 3121 | | |
3120 | 3122 | | |
3121 | 3123 | | |
| |||
0 commit comments