Ross ROSS = Recommend OSS · open-source software intelligence for agents

mvasin/react-div-100vh

A workaround for the '100vh' issue in mobile browsers observed · 2026-08-28

github.com/mvasin/react-div-100vh · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3020
  • days_rel: n/a
  • days_push: 1334
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1061 stars · 63 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A React component and hook that work around the '100vh' viewport height issue in mobile browsers like iOS Safari. It provides the real visible viewport height so full-screen layouts aren't cropped by browser chrome.

Use cases

  • fix 100vh cropping on mobile safari
  • make full-screen splash page in react that fits mobile viewport
  • keep call-to-action button visible above mobile browser toolbar
  • get real viewport height in pixels in react
  • app-like full height layout on mobile web

When to choose

  • building React apps where full-height layouts get cropped by mobile browser chrome
  • you need a simple drop-in component or hook for accurate viewport height

When to avoid

  • desktop-only web apps where 100vh works fine
  • non-React projects (though measureHeight is usable standalone)
  • projects already using modern CSS solutions like dvh units

Facets

library · maturity maintenance

ui-components frontend-framework web-development frontend mobile-development browser react react-hook viewport-height mobile-safari 100vh css-workaround nodejs javascript

3 sources

Member repositories

RepositoryRoleHealth v2
mvasin/react-div-100vhmain23

For agents

markdown · JSON · MCP: product_card(name="mvasin/react-div-100vh")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem