Skip to content

Releases: Grsmto/simplebar

2.4.4

22 Sep 14:23
Compare
Choose a tag to compare
  • Simplebar now uses Babel-preset-env and Babel-polyfill to handle browser support. Currently set with 2 last versions of each browser. Please polyfill yourself if you want to support more than that.

2.4.3

22 Sep 11:58
Compare
Choose a tag to compare
v2.4.3

2.4.3

v2.4.0

17 Apr 20:11
Compare
Choose a tag to compare
  • SimpleBar doesn't disable itself automatically on mobile anymore. This behaviour has been removed for multiple reasons:
    • it was confusing for new users, they were wondering why SimpleBar "wasn't working on mobile" until they read the doc
    • it was making the codebase more complex to maintain
    • this shouldn't be SimpleBar responsibility to disable itself. This can be easily done by the end user using a simple test: if (scrollbarWidth() === 0) and instantiate SimpleBar or not based on that (for this you can use the same package SimpleBar uses https://www.npmjs.com/package/scrollbarwidth)
  • Performance optimisation: some values that were heavy to read were calculated on each scroll event, they are now cached and only calculated when content size changes
  • scrollbar min-width now consistent with iOS default scrollbar

Next steps:

  • Unit tests
  • Separate module in 2: with/without mutationObservers
  • Use CSS in JS so user doesn't have to import css separately (one less step to get running!)

v2.3.2

17 Apr 19:54
Compare
Choose a tag to compare
2.3.2

v2.3.0

16 Apr 16:04
Compare
Choose a tag to compare
  • Default scrollbar now looks more like the native iOS scrollbar
  • Fix: Manual instantiation not working (#72)
  • Fix: wrapContent option not working (#64)
  • Fix: removeObserver() not working (#69)
  • Fix: forceEnabled not working properly (especially when scrolling on both axis X and Y) (#71)
  • Improve demo page

I started writing unit tests, that was getting urgent! It should be available soon.

v2.2.2

07 Apr 02:36
Compare
Choose a tag to compare
2.2.2

v2.2.1

20 Mar 03:01
Compare
Choose a tag to compare
  • New logic css based to hide scrollbar (more performance efficient, more reliable)
  • Fix IE11 bug where SimpleBar was instantiated multiple times in SPAs environment

v2.1.0

12 Mar 21:41
Compare
Choose a tag to compare

v2.0.3

07 Jan 17:27
Compare
Choose a tag to compare
  • Fix: Scrollbar size was not recalculated properly on the Y axis (#49)
  • Fix: Scrollbar size calculation was wrong when reaching the minimum width/height and was breaking the layout in certain situations (#46)
  • Fix: Options were just not working properly :)
  • Feature: Scrollbar minimum size is now configurable with an option (data-simplebar-scrollbar-min-size' on the element or via options objectscrollbarMinSize`) (#44)

v2.0.1

18 Dec 22:18
Compare
Choose a tag to compare
  • Fix IE11 not working
  • Add a new property enabled to know if Simplebar is currently enabled or not
  • Add a new option forceEnabled to let the user force Simplebar to be active even on mobile and floating scrollbar environments (like mac os)