Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Latest commit

 

History

History
77 lines (56 loc) · 2.29 KB

CHANGELOG.md

File metadata and controls

77 lines (56 loc) · 2.29 KB

1.3.0

Features

  • Add module exports (#46)

1.2.0

Features

1.1.0

Features

1.0.2

Fixes

  • On trackpads with high sensitivity (e.g. Macs), swiping once does not lead to a double snap anymore (thanks https://github.com/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.1

Fixes

  • Do not translate left/right scroll to up/down scroll (#37)

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)

0.2.5

Features

  • Support for installation with npm

0.2.4

Fixes

  • Fix wheel event when jQuery is also included on the page