Fix mobile keyboard overlap with VisualViewport
Aug 25, 2025 · 2 min read · Edited 2025-08-26: The previous version recommended syncing visualViewport.height to a CSS variable with an observer. That was wrong for this use case. The actual fix in Sparka is to rely on dynamic viewport units (dvh). Drop the observer and use Tai...
Join discussion