You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. ## [8.5.2](https://github.com/idiotWu/smooth-scrollbar/compare/v8.5.1...v8.5.2) (2020-03-22)
  2. ### Bug Fixes
  3. - **webpack**: make UMD build available on both browsers and Node.js. @hanjeahwan [#244](https://github.com/idiotWu/smooth-scrollbar/pull/244)
  4. ## [8.5.1](https://github.com/idiotWu/smooth-scrollbar/compare/v8.5.0...v8.5.1) (2019-12-06)
  5. ### Bug Fixes
  6. - **keyboard**: prevent keyboard navigating on `select` field. @bbtimx [#228](https://github.com/idiotWu/smooth-scrollbar/pull/228)
  7. ## [8.5.0](https://github.com/idiotWu/smooth-scrollbar/compare/v8.4.1...v8.5.0) (2019-10-20)
  8. ### Bug Fixes
  9. - **plugin.onDestroy**: fix typo. @adamcoulombe [#219](https://github.com/idiotWu/smooth-scrollbar/pull/219)
  10. ## [8.4.1](https://github.com/idiotWu/smooth-scrollbar/compare/v8.4.0...v8.4.1) (2019-09-16)
  11. ### Bug Fixes
  12. - **keyboard**: detected `contentEditable` element. @Alecyrus [#210](https://github.com/idiotWu/smooth-scrollbar/pull/210)
  13. ## [8.4.0](https://github.com/idiotWu/smooth-scrollbar/compare/v8.3.1...v8.4.0) (2019-05-13)
  14. ### Feature
  15. - Sets `tabindex` to `-1` to improve accessibility. [#160](https://github.com/idiotWu/smooth-scrollbar/pull/160)
  16. - Enables <kbd>tab</kbd> navigation. [#160](https://github.com/idiotWu/smooth-scrollbar/pull/160)
  17. ## [8.3.1](https://github.com/idiotWu/smooth-scrollbar/compare/v8.3.0...v8.3.1) (2018-08-17)
  18. ### Bug Fixes
  19. - **scrollTo**: cancel previous animation. [#168](https://github.com/idiotWu/smooth-scrollbar/issues/168)
  20. ## [8.3.0](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.0...v8.3.0) (2018-06-16)
  21. ### Bug Fixes
  22. - **scrollIntoView**: fix `offsetBottom` calculation.
  23. - **events**: add passive event detection.
  24. ### Feature
  25. - **options**: add `delegateTo` option. [#162](https://github.com/idiotWu/smooth-scrollbar/issues/162)
  26. ## [8.2.7](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.6...v8.2.7) (2018-03-15)
  27. ### Bug Fixes
  28. - **event/select**: remove `user-select` rules. [#151](https://github.com/idiotWu/smooth-scrollbar/issues/151)
  29. ## [8.2.6](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.5...v8.2.6) (2018-02-07)
  30. ### Bug Fixes
  31. - **scrollIntoView**: clamp delta within scrollable offset.
  32. ## [8.2.5](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.4...v8.2.5) (2017-11-28)
  33. ### Bug Fixes
  34. - **event/wheel**: fix wheel event name in IE10. [#124](https://github.com/idiotWu/smooth-scrollbar/pull/124)
  35. ## [8.2.4](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.3...v8.2.4) (2017-11-17)
  36. ### Bug Fixes
  37. - **event**: fix event propagation.
  38. ## [8.2.3](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.2...v8.2.3) (2017-11-17)
  39. ### Bug Fixes
  40. - **event**: call `event.preventDefault()` only in touchmove events.
  41. ## [8.2.2](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.1...v8.2.2) (2017-11-17)
  42. ### Minor Changes
  43. - **utils/eventHub**: remove `defaultPrevented` filter.
  44. ## [8.2.1](https://github.com/idiotWu/smooth-scrollbar/compare/v8.2.0...v8.2.1) (2017-11-16)
  45. ### Bug Fixes
  46. - **shouldPropagateMomentum**: call `shouldPropagateMomentum` after delta is transformed. [#117](https://github.com/idiotWu/smooth-scrollbar/issues/117)
  47. ## [8.2.0](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.0...v8.2.0) (2017-10-26)
  48. ### New Features
  49. - **plugin/overscroll**: add `onScroll` option. [doc](https://github.com/idiotWu/smooth-scrollbar/blob/develop/docs/overscroll.md#optionsonscroll)
  50. ### Minor Changes
  51. - **event/touch**: use platform based easing multiplier.
  52. ## [8.1.12](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.11...v8.1.12) (2017-10-25)
  53. ### Minor Changes
  54. - **event/touch**: use `devicePixelRatio` as easing multiplier.
  55. ## [8.1.11](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.9...v8.1.11) (2017-10-23)
  56. ### Minor Changes
  57. - **event/touch**: 1.5x easing velocity.
  58. ## [8.1.9](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.8...v8.1.9) (2017-10-23)
  59. ### Minor Changes
  60. - **Scrollbar**: add `Scrollbar.version`.
  61. - **event/touch**: improve velocity based easing algorithm.
  62. ## [8.1.8](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.7...v8.1.8) (2017-10-20)
  63. ### Bug Fixes
  64. - **track**: show track on init when `alwaysShowTracks=true`. [#108](https://github.com/idiotWu/smooth-scrollbar/issues/108)
  65. - **plugin/overscroll**: hide canvas on init. [#109](https://github.com/idiotWu/smooth-scrollbar/issues/109)
  66. ## [8.1.7](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.6...v8.1.7) (2017-10-19)
  67. ### Bug Fixes
  68. - **plugin**: `plugin.options = new Object`.
  69. ## [8.1.6](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.4...v8.1.6) (2017-10-17)
  70. ### Minor Changes
  71. - **addListener**: add type check.
  72. - **plugin**: remove lazy init.
  73. - **events**: force an update when scrollbar is detected as "unscrollable". [#106](https://github.com/idiotWu/smooth-scrollbar/issues/106)
  74. ## [8.1.4](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.3...v8.1.4) (2017-10-14)
  75. ### Bug Fixes
  76. - **options**: make properties enumerable.
  77. ## [8.1.3](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.2...v8.1.3) (2017-10-10)
  78. ### Bug Fixes
  79. - **plugin/overscroll**: preserve touch position when touch ends.
  80. ## [8.1.2](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.1...v8.1.2) (2017-10-10)
  81. ### Bug Fixes
  82. - **plugin/overscroll**: reduce amplitude when scrollbar is scrolling back.
  83. ## [8.1.1](https://github.com/idiotWu/smooth-scrollbar/compare/v8.1.0...v8.1.1) (2017-10-10)
  84. ### Bug Fixes
  85. - **init**: preserve scrolling position
  86. ## [8.1.0](https://github.com/idiotWu/smooth-scrollbar/compare/v8.0.2...v8.1.0) (2017-10-10)
  87. ## New Features
  88. - **plugin system**: add `scrollbar.updatePluginOptions` method.
  89. ## [8.0.2](https://github.com/idiotWu/smooth-scrollbar/compare/v8.0.0...v8.0.2) (2017-10-09)
  90. ### Bug Fixes
  91. - **touch**: restore damping factor when all pointers are released
  92. ## [8.0.0](https://github.com/idiotWu/smooth-scrollbar/compare/v7.4.1...v8.0.0) (2017-10-09)
  93. ### Breaking Changes
  94. - Refactored with TypeScript.
  95. - Removed overscroll effect from bundle.
  96. - [...more](https://github.com/idiotWu/smooth-scrollbar/blob/develop/docs/migration.md)
  97. ### Bug Fixes
  98. - **track**: prevent contents being selected while dragging. [#48](https://github.com/idiotWu/smooth-scrollbar/issues/48)
  99. - **IE/touch**: enable touch event capturing in IE11. [#39](https://github.com/idiotWu/smooth-scrollbar/issues/39)
  100. ### New Features
  101. - [Plugin System](https://github.com/idiotWu/smooth-scrollbar/blob/develop/docs/plugin.md).
  102. ## [7.4.1](https://github.com/idiotWu/smooth-scrollbar/compare/v7.4.0...v7.4.1) (2017-08-31)
  103. ### Bug Fixes
  104. - **scrollTo**: fix scrolling curve while `duration=0`. [#94](https://github.com/idiotWu/smooth-scrollbar/issues/94)
  105. ## [7.4.0](https://github.com/idiotWu/smooth-scrollbar/compare/v7.3.1...v7.4.0) (2017-08-24)
  106. ### Minor Changes
  107. - **init/destroy**: perserve scroll offset. [#67](https://github.com/idiotWu/smooth-scrollbar/issues/67)
  108. ## [7.3.1](https://github.com/idiotWu/smooth-scrollbar/compare/v7.3.0...v7.3.1) (2017-05-26)
  109. ### Bug Fixes
  110. - **destroy**: uses loop instead of `innerHTML = ''` to avoid empty nodes in IE. ([#77](https://github.com/idiotWu/smooth-scrollbar/pull/77))
  111. ## [7.3.0](https://github.com/idiotWu/smooth-scrollbar/compare/v7.2.10...v7.3.0) (2017-05-22)
  112. ### Bug Fixes
  113. - **track**: Call `showTrack` whenever position changed. ([d315413](https://github.com/idiotWu/smooth-scrollbar/commit/d315413eb403563637f9eae5f4b7e93470b3341e))
  114. ### Features
  115. - **scrollIntoView**: add `alignToTop` option. ([#75](https://github.com/idiotWu/smooth-scrollbar/pull/75))
  116. ### Minor Changes
  117. - **scrollTo**: use computed damping factor instead of quadratic curve. [69c3a81](https://github.com/idiotWu/smooth-scrollbar/commit/69c3a813b258ded0a773056b20c4b8b2d149c11b)
  118. - **event/keyboard**: use `document.activeElement` to detect focused element. [44fc594](https://github.com/idiotWu/smooth-scrollbar/commit/44fc5948c80397e940aeb41f2a0d3282bb4799ed)
  119. ## 7.2.0
  120. - Refactor touch record.
  121. - Add `options.overscrollDamping`.
  122. ## 7.1.0
  123. - Add back individual style files to avoid crashing on server side rendering.
  124. ## 7.0.0
  125. - **Breaking change**: style files are now bundled with js files!
  126. - Support server side rendering.
  127. - Refactored to webpack based workflow.
  128. ## 6.4.0
  129. - Add `isRemoval` to destroy methods.
  130. ## 6.3.0
  131. - Add `syncCallbacks` options to perform synchronous callbacks.
  132. ## 6.2.0
  133. - Rename `options.friction` to `options.damping`.
  134. ## 6.1.0
  135. - Fix overscroll effect on non-scrollable containers.
  136. - Add `alwaysShowTracks` option
  137. ## 6.0.0
  138. - Add experimental overscroll effect.
  139. ## 5.6.0
  140. - Remove `ignoreEvents` option.
  141. - Add `unregisterEvents` and `registerEvents` to manage events.
  142. ## 5.5.0
  143. - Add `renderByPixels` option.
  144. ## 5.3.0
  145. - Add `scrollIntoView()` method.
  146. ## 5.2.0
  147. - Add `continuousScrolling` option.
  148. ## 5.1.0
  149. - Add `#clearMovement` and `#stop` method.
  150. - Allow users to temporarily disable callbacks when invoke `#setPosition` method.
  151. ## 5.0.0
  152. - **Breaking change**: rename `fricton` to `friction`.
  153. - Feature: minimal scrollbar thumb size.
  154. ## 4.2.0
  155. - Add `ignoreEvents` support.
  156. ## 4.1.0
  157. - Reduce movement at container's edge.
  158. ## 4.0.0
  159. - Movement based scrolling algorithm.
  160. - Reduce options, simple is better :)
  161. ## 3.1.0
  162. - Use quadratic curve to perform `scrollTo` method.
  163. ## 3.0.0
  164. - New easing algorithm.
  165. - Dependency free!