use-dynamic-viewport
MITReact hook that injects --dvh and --keyboard-height CSS variables using the Visual Viewport API. Fixes the gap CSS dvh leaves when the mobile keyboard opens.
100
Security score
0 known advisories in v0.1.0
Weekly downloads
—
Unpacked size
37.1 kB
Dependencies
0
Last publish
4 months ago
Security advisories
No known vulnerabilities affect v0.1.0.