mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-09 11:52:27 +03:00
1.1 KiB
1.1 KiB
Changelog
0.5.0
Features
OverlayScrollbarsComponentaccepts now thedeferpropertyuseOverlayScrollbarsparams accept now thedeferkeyuseOverlayScrollbarswill now always try to destroy the instance if the component unmounts.
Breaking Changes
- Because initialization can be deferred now, the
initializefunction of theuseOverlayScrollbarshook isn't returning the instance anymore. Use theinstancefunction of theuseOverlayScrollbarshook instead.
0.4.0
Depends on OverlayScrollbars version ^2.0.0 and React version >=16.8.0.
The component was rewritten using hooks. (#218)
Features
OverlayScrollbarsComponentaccepts now theeventspropertyOverlayScrollbarsComponentaccepts now theelementproperty- The
useOverlayScrollbarshook was added for advanced usage
Breaking Changes
- The
extensionsproperty is removed fromOverlayScrollbarsComponent - The
osTarget()function from theOverlayScrollbarsComponentrefis renamed togetElement()