We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c44e8d commit 5687262Copy full SHA for 5687262
README.md
@@ -61,7 +61,7 @@ const MyHalfHeightExampleComponent = ({ children }) => {
61
62
Under the hood `use100vh` uses `measureHeight` function which is exported as
63
well, so feel free to use it, even without React. Currently it returns
64
-`document.documentElement?.clientHeight || window.innerHeight` or `null`.
+`window.innerHeight` in a browser and `null` in Node.
65
66
## Testing
67
0 commit comments