Commit b5c84c8
committed
fix(debug): resize viewport with onscreen keyboard
This is a very similar change to nextcloud/richdocuments#5137, which
resized our iframe when we opened the onscreen keyboard. This does the
same change for all our viewport specifiers (although I note that the
cool.html.m4 change will have no effect for integrators since as this
option has no effect when used in an iframe...)
Not finding some way to resize the content when the keyboard is popped
up has the following undesireable effects:
- Focusing the hidden input causes the page to shift up and down on some
devices as not all of it fits on the screen at once and some browsers
want to keep the hidden input "in view"
- #13274 is ineffective, as you can't detect the height of the screen
properly
- The bottom toolbar is almost always hidden behind the keyboard (in
portrait or landscape)
Signed-off-by: Skyler Grey <[email protected]>
Change-Id: I4d5a0c09c2130f92a0711ad731cad9e96a6a69641 parent b993c31 commit b5c84c8
File tree
5 files changed
+5
-5
lines changed- browser/html
- test
- wsd
5 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments