0.8.0
! This release contains a breaking change! nanoScroller's CSS classes have been renamed like this: .content
=> .nano-content
, .pane
=> .nano-pane
and .slider
=> .nano-slider
. Please update your JS, CSS and HTML when using the latest version.
Changelog:
- allow
relative
andstatic
position to be used for.nano-content
, #207 - fix slider not updating when calling
scrollTop
andscrollBottom
#216, #205 - highlight code in README, #220
- avoid common CSS classnames by renaming classes in nanoscroller and docs. Use CSS direct child selector, #146, #208, #214
- scrollTo now finds the elements from its children, #197
- set
this.scrollRAF
to null, #202 - fixed
scrollBottom
andscrollTop
when the value was0
, #201
Thanks to all contributors!