Skip to content

Releases: bfiessinger/scrollToSmooth

3.0.2

03 May 13:58
Compare
Choose a tag to compare

remove forgotten console.log (#10)

3.0.1

12 Mar 10:46
Compare
Choose a tag to compare

3.0.1 (Hotfix release)

  • ScrollToSmooth stopped working in version 3.0.0 when the selector to be validated would fail

3.0.0

08 Mar 17:35
Compare
Choose a tag to compare

Features

  • Allow custom easing functions
  • Allow a custom amount of pixels to use as an offset (#3)
  • Animated scrolling links at the very top or bottom can now exceed the actual document so that easing functions like for example easeInOutBounce don't stop animating while exceeding the document.
  • Introduced scrollBy method
  • scrollTo now accepts numeric values

Enhancements

  • Make imports of easings optional to enhance filesize control
  • Import linear only per default (see Important Notes)
  • Enhanced easing patterns

Bug Fixes

  • Fixed a bug where the final position was calculated wrong in some situations
  • Bundled browser file was not transpiled to es5

Code Quality

  • Created a seperate file for each easing function
  • Create Typescript declaration files
  • Various minor bug fixes and structural improvements
  • Add esm bundle
  • Add cjs bundle

Important Notes

Version 3.0.0 is a major update and comes with some breaking changes:

  • Easings are no longer imported by default, you have to import individual easings like import { easeInQuad, easeOutQuad } from 'scrolltosmooth';
  • The fixedHeader option has been renamed to offset and accepts a fixed amount of pixels now

2.2.1

29 Jul 12:10
Compare
Choose a tag to compare
v2.2.1

Bump Library version to 2.2.1

2.2.0

21 Jul 11:00
Compare
Choose a tag to compare
v2.2.0

Bugfixes

2.1.5

11 May 13:23
Compare
Choose a tag to compare

Fixed #2

2.1.4

17 Feb 18:50
6f0fcd2
Compare
Choose a tag to compare
v2.1.4

Add files via upload

2.1.3

14 Feb 17:13
7a1afea
Compare
Choose a tag to compare
v2.1.3

fixed compiler

2.1.2

13 Feb 19:31
9e83809
Compare
Choose a tag to compare
v2.1.2

Fixed linear easing 📏

2.1.1

13 Feb 15:05
f9384f8
Compare
Choose a tag to compare
v2.1.1

Safari fix