Releases: Grsmto/simplebar
Releases · Grsmto/simplebar
v3.1.3
v3.1.0
Finally, I think we are good for a stable release! 🎉
Breaking changes
horizontal
,vertical
andvisible
classes are now prefixed withsimplebar-
. 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
[email protected]
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 havesticky
andheight: 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
[email protected]
v3.0.0
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 ofleft/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
[email protected]
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
Features
- Add a new option:
forceVisible
(ordata-simplebar-force-visible
) to force track to be visible like nativeoverflow: 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
⚠️ semi-breaking change:data-simplebar-autohide
is now calleddata-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)