Skip to content

3.0.2

Compare
Choose a tag to compare
@zengabor zengabor released this 05 May 18:22
· 18 commits to dist since this release
  • 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)