Releases: zengabor/zenscroll
Releases · zengabor/zenscroll
Zenscroll 4.0.2
Zenscroll 4.0.1
- Fixes an issue related to getComputedStyle() receiving a non-existent element
Latest: 4.0.2
4.0.0
- 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
3.3.0
3.2.3
3.2.2
3.2.1
3.1.0
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)