8.8.4 (2023-06-05)
- utils/debounce: fix timer scheduling. @sadeghbarati #538
8.8.3 (2023-03-24)
- utils/event-hub: define
options.passive
asenumerable
for compatibility when detecting browser support for passive events. #520
8.8.1 (2022-09-15)
- event/touch: use
devicePixelRatio
as velocity multiplier to fix the issue that scrolling is slow on iOS 16. - event/keyboard: add
offsetLeft
to tab key handler, fixes #421.
8.8.0 (2022-09-15)
- Reduce lodash usage to prevent vulnerability warnings, resolves #307. @j-turner28 #496
8.7.5 (2022-08-02)
- event/select: prevent scrolling when context menu opened, resolves #489
8.7.4 (2022-01-22)
- event/touch: reset touch trackers on
touchstart
, resolves #435
8.7.3 (2022-01-10)
- geometry: use
ResizeObserver
instead ofMutationObserver
to apply automatic re-calculates. (This is a temporary optimization and we will refactor the code in v9.)
8.7.2 (2021-12-25)
- touch: multiply touch moving velocity by
devicePixelRatio
on Android.
8.7.1 (2021-12-25)
- touch: calculate scrolling delta based on the touch moving velocity.
8.7.0 (2021-11-01)
- event/mouse: smoothen scrolling while dragging thumbs.
8.6.3 (2021-07-30)
- geometry: add container's paddings to content's size.
8.6.2 (2021-05-04)
- event/select: get new limit value when scroll function is called @longvudai #314
8.6.1 (2021-03-19)
- dependencies: upgrade lodash-es to 4.17.21 (non-vulnerable version) @huggingpixels #306
8.6.0 (2021-02-01)
- Upgrade core-js to v3. @milewski #234
8.5.3 (2020-09-17)
- events: ignored attempt to cancel an event with
cancelable=false
. @milkamil93 #276
8.5.2 (2020-03-22)
- webpack: make UMD build available on both browsers and Node.js. @hanjeahwan #244
8.5.1 (2019-12-06)
- keyboard: prevent keyboard navigating on
select
field. @bbtimx #228
8.5.0 (2019-10-20)
- plugin.onDestroy: fix typo. @adamcoulombe #219
8.4.1 (2019-09-16)
- keyboard: detected
contentEditable
element. @Alecyrus #210
8.4.0 (2019-05-13)
8.3.1 (2018-08-17)
- scrollTo: cancel previous animation. #168
8.3.0 (2018-06-16)
- scrollIntoView: fix
offsetBottom
calculation. - events: add passive event detection.
- options: add
delegateTo
option. #162
8.2.7 (2018-03-15)
- event/select: remove
user-select
rules. #151
8.2.6 (2018-02-07)
- scrollIntoView: clamp delta within scrollable offset.
8.2.5 (2017-11-28)
- event/wheel: fix wheel event name in IE10. #124
8.2.4 (2017-11-17)
- event: fix event propagation.
8.2.3 (2017-11-17)
- event: call
event.preventDefault()
only in touchmove events.
8.2.2 (2017-11-17)
- utils/eventHub: remove
defaultPrevented
filter.
8.2.1 (2017-11-16)
- shouldPropagateMomentum: call
shouldPropagateMomentum
after delta is transformed. #117
8.2.0 (2017-10-26)
- plugin/overscroll: add
onScroll
option. doc
- event/touch: use platform based easing multiplier.
8.1.12 (2017-10-25)
- event/touch: use
devicePixelRatio
as easing multiplier.
8.1.11 (2017-10-23)
- event/touch: 1.5x easing velocity.
8.1.9 (2017-10-23)
- Scrollbar: add
Scrollbar.version
. - event/touch: improve velocity based easing algorithm.
8.1.8 (2017-10-20)
- track: show track on init when
alwaysShowTracks=true
. #108 - plugin/overscroll: hide canvas on init. #109
8.1.7 (2017-10-19)
- plugin:
plugin.options = new Object
.
8.1.6 (2017-10-17)
- addListener: add type check.
- plugin: remove lazy init.
- events: force an update when scrollbar is detected as "unscrollable". #106
8.1.4 (2017-10-14)
- options: make properties enumerable.
8.1.3 (2017-10-10)
- plugin/overscroll: preserve touch position when touch ends.
8.1.2 (2017-10-10)
- plugin/overscroll: reduce amplitude when scrollbar is scrolling back.
8.1.1 (2017-10-10)
- init: preserve scrolling position
8.1.0 (2017-10-10)
- plugin system: add
scrollbar.updatePluginOptions
method.
8.0.2 (2017-10-09)
- touch: restore damping factor when all pointers are released
8.0.0 (2017-10-09)
- Refactored with TypeScript.
- Removed overscroll effect from bundle.
- ...more
- track: prevent contents being selected while dragging. #48
- IE/touch: enable touch event capturing in IE11. #39
7.4.1 (2017-08-31)
- scrollTo: fix scrolling curve while
duration=0
. #94
7.4.0 (2017-08-24)
- init/destroy: perserve scroll offset. #67
7.3.1 (2017-05-26)
- destroy: uses loop instead of
innerHTML = ''
to avoid empty nodes in IE. (#77)
7.3.0 (2017-05-22)
- track: Call
showTrack
whenever position changed. (d315413)
- scrollIntoView: add
alignToTop
option. (#75)
- scrollTo: use computed damping factor instead of quadratic curve. 69c3a81
- event/keyboard: use
document.activeElement
to detect focused element. 44fc594
- Refactor touch record.
- Add
options.overscrollDamping
.
- Add back individual style files to avoid crashing on server side rendering.
- Breaking change: style files are now bundled with js files!
- Support server side rendering.
- Refactored to webpack based workflow.
- Add
isRemoval
to destroy methods.
- Add
syncCallbacks
options to perform synchronous callbacks.
- Rename
options.friction
tooptions.damping
.
- Fix overscroll effect on non-scrollable containers.
- Add
alwaysShowTracks
option
- Add experimental overscroll effect.
- Remove
ignoreEvents
option. - Add
unregisterEvents
andregisterEvents
to manage events.
- Add
renderByPixels
option.
- Add
scrollIntoView()
method.
- Add
continuousScrolling
option.
- Add
#clearMovement
and#stop
method. - Allow users to temporarily disable callbacks when invoke
#setPosition
method.
- Breaking change: rename
fricton
tofriction
. - Feature: minimal scrollbar thumb size.
- Add
ignoreEvents
support.
- Reduce movement at container's edge.
- Movement based scrolling algorithm.
- Reduce options, simple is better :)
- Use quadratic curve to perform
scrollTo
method.
- New easing algorithm.
- Dependency free!