- Webpack is used to build client bundle
- No multiple instances per initialization allowed (only first html node in the list will be taken)
- Pull plugin is removed
- No more jQuery or other external libraries dependencies
- Supported browser list updated: ie9-, Opera 10 and Firefox 3.5- are not supported now
- Add webpack example
- params now can be HTMLElement or jQueryObject
- Rework npm scripts
- Add yarn
- Add editorconfig
- Fix root bidirect bug && add tests #139
- Add
position
param
- Update dist files properly
- Rework of cross-scroll bugs issue #134
- Add tests for scroll-scroll bugs
- Update uglify-js package
- Change
main
field to prod version of baron
- Remove baron instances from baron._instances on dispose (#132)
- baron._instances now reachable only in dev mode
- Baron now trows an Error when no jQuery nor params.$ found
impact
default value now alwaysscroller
.- Mac OS X Firefox support
- draggingCls now adds to
root
, notbar
- second baron init for same direction now always returns existing instance
scrollingCls
param now sets onroot
, notscroller
.
- add
rtl
param.
- add
-ms-overflow-style: none
for non-guru css mode.
- fix ie clipper (cross-scroll)[#116]
- add
cssGuru
option for css guru. - add default css.
- remove resizeDebounce param.
- fix phantom tests.
- remove pause param.
impact
param added
- fixed noParams initialization bug for multiple barons on page
- fixed module.exports bug (now baron is compatible with react-baron)
- fixed flexbox bug
- fixed Opera 12 nested flexbox bug
- rework of horizontal scroll
- removed
freeze
param
- dispose method added (to free memory and remove event listeners when scroller removed from dom)
core:
- Plugin system added (alpha version)
- fixable headers moved to 'fix' plugin
- 'grunt full' now includes test plugin to build
- 'u' method renamed to 'update'
- 0.2s delay for update on resize event removed (use 'pause' param instead)
params change
- 'bar' default value now 'undefined' (!)
- '$' param added, default value: window.jQuery
- 'dom' and 'selector' params removed
- 'direction' ['v', 'h'] param added, default value: 'v'.
- 'freeze' param added: size of scroller parent freezes at initialization, if true
- 'pause' param added: use it on slow hardware to limit event trigger frequency (minimum time delay between two triggers in seconds)
- all params for fixable headers moved to 'fix' plugin
fix plugin:
- 'header' param renamed to 'elements'
- 'hFixCls' param renamed to 'outside'
- 'hBeforeFixCls' param renamed to 'before'
- 'hAfterFixCls' param renamed to 'after'
- 'fixRadius' param renamed to 'radius'
- 'trackSmartLim' param renamed to 'limiter'
plugins:
- 'controls' plugin added
- 'test' plugin added
- Horizontal scroll support
- Textarea support
- Dev build added (with error console messages)
Improvements
- Grunt task runner for build customization added
- root var removed (use scroller param instead)
- barOnCls now applied to scroller, not the bar
- trackSmartLim param added (if true bottom edge of first header uses as bar top limit)
- fixRadius param added
- Variable (tex-dependent) headers heights support added
- noConflict method added
Bugs
- Right click drag bug fixed
- Update method now invalidates bar visibility
- Margin collapse and positioned elements bug fixed
Misc
- heightChange custom event renamed to sizeChange
- container param removed
- hTopFixCls param renamed to hBeforeFixCls
- hBottomFixCls param renamed to hAfterFixCls
- barTop param removed
- "require()" support added
- Server-side "usage" handler added