Skip to content

Releases: ustbhuangyi/better-scroll

v2.0.6

29 Nov 10:25
Compare
Choose a tag to compare

Bug Fixes

  • core: window.getComputedStyle will resolve wrong transform value when use CSS transition, so a invalid position will be filtered when dispatching scroll event
  • slide: proxy pausePlay and startPlay methods to bs instance

v2.0.5

20 Oct 06:13
Compare
Choose a tag to compare

Bug Fixes

  • slide: slideWillChange event should work well when probeType is 3

v2.0.4

21 Sep 02:32
Compare
Choose a tag to compare

Features

  • core: support dynamic content, add specifiedIndexAsContent option and contentChanged event
  • plugins: all plugins support dynamic content

v2.0.3

09 Sep 02:41
Compare
Choose a tag to compare

Bug Fixes

  • core: should dispatch scrollEnd event while useTransition is true at some scenes, should sync pressed keys to custom click although bs dispatch click event by itself, close #1060 #981

v2.0.2

02 Sep 08:02
Compare
Choose a tag to compare

Bug Fixes

  • pull-down: remove Direction judgment, close #1056

v2.0.1

27 Aug 13:53
Compare
Choose a tag to compare

Bug Fixes

  • infinity: should modify boundary when initialised

v2.0.0

27 Aug 08:35
Compare
Choose a tag to compare

Bug Fixes

  • slide: fix refresh hooks when window resized, close #1037
  • slide: fix pointer-events not reset, close #989
  • pullup & mouse-wheel: fix not trigger hook, close #881 #805
  • slide & mouse-wheel: fix jumpy, close #733
  • mouse-wheel: should respect disable() API, close #1025

Features

  • core: narrow down bad ios version judgment, optimize init logic
  • movable: new plugin, see details
  • slide: support dynamically adding slidePage when initialised in loop or unloop mode
  • slide: v1's snap option is renamed to slide in v2
  • zoom: provide zoomTo API and add some options, add more precise hooks, expose scale when zooming
  • mouse-wheel: integrated well with wheel,pulldown,pullup plugins
  • pull-down: allow triggering pullingDown when content's size is small
  • pull-up: allow triggering pullingDown when content's size is small
  • observe-dom: remove dependencies of pull-down judgment

v1.15.0

13 Mar 02:34
Compare
Choose a tag to compare

Improvements

provide a configuration for wheel to disable items, see the doc

Bugfix

fix zoomTo api bug

v1.14.0

21 Jan 02:20
Compare
Choose a tag to compare

Improvements

  1. Add autoPullDownRefresh API, see the doc

  2. Remove unnecessary scrolling logic of the API scrollTo

v1.13.0

27 Sep 01:25
Compare
Choose a tag to compare
  1. Remove internal type declaration since @types/better-scroll is ready, see DefinitelyTyped/DefinitelyTyped#28053
  2. Optimize the scroll performance when move slowly.
  3. Add destroy handler of the infinity scroll.