fix(gui): resize app content above mobile keyboard (#4165)

Add interactive-widget=resizes-content to the mobile viewport meta tag
so the layout viewport shrinks when the soft keyboard opens. The app
window's height chain resolves against the layout viewport, so the
iframe folds up above the keyboard instead of clipping behind it.
This commit is contained in:
Himanchal Kaushale authored and GitHub committed 2026-10-13 08:53:44 -07:00
1 parent 948772165d
commit f37cb22d8a
1 file changed
+1 -1
+1 -1
View File
@@ -1355,7 +1355,7 @@ window.initgui = async function (options) {
// Appends a viewport meta tag to the head of the document, ensuring optimal display on mobile devices.
// This tag sets the width of the viewport to the device width, and locks the zoom level to 1 (prevents user scaling).
$('head').append(
'<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">',
'<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, interactive-widget=resizes-content">',
);
// will hold the result of the whoami API call