fix(blabsy): use dynamic viewport height so the chat composer isn't hidden by browser UI#1039
Conversation
…idden 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>
📝 WalkthroughWalkthroughAll height calculations in ChangesChat Viewport Height Fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description of change
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.
Issue Number
Closes #1023
Type of change
How the change has been tested
Verified on a real Android device (Chrome): the composer now sits above the navigation bar and stays reachable with the keyboard open.
Change checklist
Summary by CodeRabbit