Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.54 KB

File metadata and controls

42 lines (33 loc) · 1.54 KB

next release

Fixes

  • On trackpads with high sensitivity (e.g. Macs), swiping once does not lead to a double snap anymore (thanks @reco). There's a 1 second delay that prevents the next snap, which can be changed (or disabled) with prevent-double-snap-delay

1.0.0

Breaking changes

Features

  • Support overriding the next snapIndex by returning a number from before-snap
  • Support disabling/enabling snapscroll programmatically
  • Support child elements whose height is greater than the snapscroll element
  • Support for arrow keys using enable-arrow-keys

Fixes

  • snap-index is not initialized if the element is not scrollable
  • Ensure snapscroll never tries to set scrollTop to a value that is out of bounds

0.3.0

Breaking changes

Features

  • Support children elements (slides) of unequal heights, but have to be smaller or equal to the snapscroll element

Fixes

  • snap-height is now an opt-in feature
  • If overflow-y on the snapscroll element is set to scroll, then it is not changed to auto
  • Change angular dep version to the lowest supported version (1.2.24)