- Revert 0.3.6 and 0.3.7 (@mvasin in 29)
- Fix 'error "document" is not available during server side rendering.' (@kyleboss-tinder in 28)
- Apply the styles on the first render (@meyerds in 26)
- Use document.documentElement.clientHeight instead of window.innerHeight (@roman-kaspar in 22)
- Add support for nondiv elements (@charlescrtr in 20)
- Avoid to use jest-get-type in production (@valse in 7)
- Get rid of unnecessary handling DOM node via
ref
, because props would do just fine - Move demo from GitHub Pages to Netlify
- Improve support for
rvh
units: allow multiplervh
entries in a propersty value, allowrvh
mixed with other values (i.e.margin: 1px 1rvh
)
rvh
, "real viewport height" unit is introduced.1rvh
equals to 1/100 of actually visible space (with mobile browser bottom chrome excluded). if impliedheight: 100rvh
is not what you want, pass the component astyle
prop and uservh
units there anyway you'd like, i.e.<Div100vh style={{ minHeight: '100rvh' }} />
. If you pass any CSS properties inrvh
units tostyle
prop, defaultheight: 100rvh
does not apply. (@drd, @joshuarrr and @mvasin in #2)
- Initial release