Skip to content

Releases: Grsmto/simplebar

v3.1.3

18 Jan 00:34
Compare
Choose a tag to compare

Bug fixes

  • Fix SSR not working properly because DOM init was done before check
  • Fix event listeners not being removed and debounced functions being called on unMount #257

v3.1.0

20 Nov 02:10
Compare
Choose a tag to compare

Finally, I think we are good for a stable release! 🎉

Breaking changes

  • horizontal, vertical and visible classes are now prefixed with simplebar-. ex:
    simplebar-horizontal 5d5acd1

Features

  • Fix a regression where we couldn't apply styles on hover. You can now use the simplebar-hover class to style the track and scrollbar. #229

Bug fixes

  • prevent event propagation when interacting with the scrollbar #240
  • classnames undefined if not all defined on classnames option #228
  • drag now works only on scrollbar instead of entire track
  • fix autoHide option not working as expected

simplebar@3.1.0-beta.3

02 Nov 12:14
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • DOM shape is completely different from previous version. It might break your implementation!
  • getScrollElement will now return always the same element and doesn't accept parameter anymore (however that shouldn't break anything).

Features

  • Host element can now have padding applied and SimpleBar with follows it without breaking.
  • SimpleBar should now be closer to native overflow implementation. So you can now have sticky and height: 100% elements. #213 #185

Bug fixes

  • Fix scrollbar showing when user was zooming in/out the browser. This is a veeeery old bug that is hopefully now gone! 🎉 #11
  • Fix an issue if you where recalculate() wasn't called if you were calling it continuously. #166
  • RTL support should now work properly cross-browser
  • You can now apply offset/padding to the track and it should still position the scrollbar properly. #233

simplebar@3.0.0-beta.2

16 Aug 04:33
Compare
Choose a tag to compare
Pre-release

Bug fixes (regressions)

  • Force the scrollbar to be displayed when hovered (#192)
  • Fix horizontal scrollbar missing same logic as vertical one (#179)

v3.0.0

14 Jul 19:42
Compare
Choose a tag to compare
v3.0.0 Pre-release
Pre-release

Breaking changes

  • Some functions renamed/removed: flashScrollbar() removed.

Features

  • User can now scroll even if its cursor is on top of the track/scrollbar
  • Performances optimisation: SimpleBar now uses RequestAnimationFrame for scrollbar positioning as well as css transform: translate instead of left/top. That should avoid repaint and improve fps. #162
  • SimpleBar is finally tested! It's not exhaustive yet but we have unit and e2e tests using Jest and Puppeteer. The e2e tests are using the examples page, so it's easy to maintain and to add new tests. #164 #81
  • Configurable scroll hide timeout #122
  • Switch from Webpack to Rollup
  • Support for SSR #175

Bug fixes

  • Fix scrollbar showing when user was zooming in/out the browser. This is a veeeery old bug that is hopefully now gone! 🎉 #11
  • Fix an issue if you where recalculate() wasn't called if you were calling it continuously. #166

simplebar-react@0.0.1-beta.0

14 Jul 19:41
Compare
Choose a tag to compare
Pre-release

Introducing SimpleBar-React, a minimalistic wrapper for usage of SimpleBar in React.
We could use SimpleBar already with React before but it was tedious and could fail in a couple of scenarios. Now if you use React you can just npm install simplebar-react and you're good to go.
There is no React-specific feature so it's as light as possible. This is really just a "jsx" wrapper of the native SimpleBar plugin!

v2.6.1

26 Mar 13:01
Compare
Choose a tag to compare

Features

  • Add a new option: forceVisible (or data-simplebar-force-visible) to force track to be visible like native overflow: scroll #129

Bug fixes

  • Fix wrong assumptions on !important statements in css. SimpleBar is now less violent in these css declarations and only real breaking declarations are defined as !important.
  • Fix SimpleBar not working properly in IE11 #154

v2.6.0

19 Mar 16:07
Compare
Choose a tag to compare
  • ⚠️ semi-breaking change: data-simplebar-autohide is now called data-simplebar-auto-hide. I call this "semi" breaking because this was an undocumented feature.
  • Add support for RTL (#139)
  • Remove hardcoded 2px offset on scrollbar (#134)
  • Core CSS is now defined with !important to avoid users from overriding it by mistake (or with Bootstrap for ex) (#107)
  • Add first tests. I'm currently working on a big new release that will try to provide full test coverage. but this is a start! (#81)

v2.5.1

29 Nov 18:05
Compare
Choose a tag to compare
  • add Object.assign polyfill to support IE11

v2.5.0

15 Nov 13:08
Compare
Choose a tag to compare
  • Thanks to @idiotWu for pointing me to the right direction and figuring out that the latest release was really messy due to my misunderstanding of Babel-preset-env that I was using like Autoprefixer! :p
    Thanks to that, SimpleBar went from 80kb to 31kb 😅
  • Migrated to Webpack 3