diff options
Diffstat (limited to 'packages/meshbay-client')
| -rw-r--r-- | packages/meshbay-client/scripts/index.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/meshbay-client/scripts/index.html b/packages/meshbay-client/scripts/index.html index 337e180..ad7af0c 100644 --- a/packages/meshbay-client/scripts/index.html +++ b/packages/meshbay-client/scripts/index.html @@ -2,7 +2,15 @@ <html lang="en"> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <!-- `interactive-widget=resizes-content`: on Android the soft keyboard + shrinks the visual viewport and leaves the layout viewport alone, which + is the platform default. `position: sticky` anchors to the layout + viewport, so with a keyboard up the pinned header of a group or of + Search sits at a coordinate the reader can no longer see — it reads as + though it had scrolled away. This asks for the keyboard to resize the + layout viewport instead, so what is pinned stays where it is looked at. + Ignored by browsers that do not know it. --> + <meta name="viewport" content="width=device-width, initial-scale=1, interactive-widget=resizes-content"> <title>MeshBay</title> <!-- The interface is loaded from this package, never from the hub. That is the |