Skip to content

4.0.0

Compare
Choose a tag to compare
@zengabor zengabor released this 18 Mar 06:42
· 10 commits to dist since this release
  • Automatic edge offset adjustment on load, implementing #29
  • Limited support for the hashchange event and the CSS pseudo :target, implementing #31
  • Fix #30 – A special case when the target is within a statically positioned element
  • Fix #32 – The hash was not executed on first load
  • Fix #27 – Zenscroll can be now referenced from the
  • Fix an incorrect calculation of the height of scrollable elements which ignored fixed scrollbars that are present on some platforms, like Windows
  • setup() now returns the current settings
  • A value of zero for duration is now accepted in all functions, including setup(). E.g., zenscroll.toY(200, 0)
  • scrollTo() does not return the calculated target vertical position any more
  • Internal refactoring