v0.12.34 iOS bug fixes

This commit is contained in:
2026-03-28 13:22:02 -04:00
parent fb9d4dc956
commit 76edd7abd1
6 changed files with 756 additions and 9 deletions

View File

@@ -64,7 +64,15 @@
@media (max-width: 767px) {
.chat-layout {
position: relative;
/* position: fixed keeps the layout pinned to the visual viewport even when
iOS scrolls the page on keyboard open. Without this, iOS scrolls the page
to bring the focused textarea into view, moving it to the top of the screen.
--visual-viewport-offset tracks the visual viewport's scrolled position so
the layout follows if iOS shifts it (usually 0, non-zero during keyboard open). */
position: fixed;
top: var(--visual-viewport-offset, 0px);
left: 0;
right: 0;
}
.chat-body {
overflow: hidden;