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
relativeandstaticposition to be used for.nano-content, #207 - fix slider not updating when calling
scrollTopandscrollBottom#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.scrollRAFto null, #202 - fixed
scrollBottomandscrollTopwhen the value was0, #201
Thanks to all contributors!