3.0.2
- Fixes #11: now edgeOffset can be customized (earlier it was always
9px) - Fix for inaccurate calculation of bottom edge when using
intoView()
(earlier twice the amount of edgeOffset was used at the bottom) - Fixes #9: Make sure it doesn’t throw an exception when called in a
non-browser environment (e.g., server rendered React)