From 7aa9de4f2fb35fdb010fc93b5845f5021b0a3fda Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Tue, 4 Nov 2025 14:47:38 +0000 Subject: [PATCH 1/3] fix(android): match iframe size to visual viewport I've been testing Collabora Online with Nextcloud on Android, and I've noticed some content displaying behind the onscreen keyboard as follows: There are two viewports on the web, the "visual" viewport (what you actually see) and the "layout" viewport (how the browser draws the page). The onscreen keyboard popping up used to resize the layout viewport. In newer Android versions, the onscreen keyboard by default resizes the visual viewport rather than the layout viewport. Unfortunately, the visual viewport isn't propagated through iframes, as per MDN docs which state: > Only the top-level window has a visual viewport that's distinct from > the layout viewport. Therefore, it's generally only the VisualViewport > object of the top-level window that's useful. For an