fix(webui): preserve viewport position through keyboard rotation

This commit is contained in:
Xubin Ren committed 2026-10-04 10:40:09 +08:00
1 parent d07fac940f
commit eec1d13aca
4 files changed
+22 -4

No files matched your search

+2 -2
View File
@@ -192,8 +192,8 @@ On touch devices with Visual Viewport support, the app follows the visible area
when the on-screen keyboard opens or pans the page. Navigation and the composer
stay in view while messages scroll independently. In very short viewports (such
as landscape with the keyboard open), scroll within the composer to reach its
controls. Pinch zoom keeps the existing
layout instead of resizing it to the magnified area; normal fitting resumes when
controls. Pinch zoom keeps the existing layout instead of resizing it to the
magnified area; normal fitting resumes when
you return to the default zoom. Desktop and native-host layout remain unchanged.
Open the context indicator beside the composer model badge to see how much of