Commit e9a2d6c
fix(blabsy): use dynamic viewport height so the chat composer isn't hidden by browser UI
The chat layout sized its containers with calc(100vh - ...). On mobile
browsers 100vh is the largest viewport height (as if the browser chrome
were hidden), so the fixed-height chat column overflowed the visible area
and the message input was pushed behind the browser's navigation bar —
unreachable, so tapping it never opened the keyboard. Installed as a PWA
there is no browser chrome, which is why it only reproduced in-browser.
Switch the chat containers from 100vh to 100dvh (dynamic viewport height)
so they track the actually-visible area. dvh equals vh when there is no
browser chrome (PWA / desktop), so no regression there.
Verified on a real Android device (Chrome): the composer now sits above
the navigation bar and stays reachable with the keyboard open.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5f08b54 commit e9a2d6c
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments