Skip to content

Commit

Permalink
bugfix;
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Nov 1, 2018
1 parent 0cfa28d commit 107b6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ function (_React$Component) {
if (nativeScrollbars) {
return _react.default.createElement(tagName, _objectSpread({}, props, {
className: "ScrollbarsCustom-holder ScrollbarsCustom-native" + (className ? " " + className : ""),
style: _objectSpread({}, defaultStyles && defaultStyles.holder.native, style, {
style: _objectSpread({}, defaultStyles && defaultElementsStyles.holder.native, style, {
overflowX: noScroll || noScrollX ? "hidden" : permanentScrollbars || permanentScrollbarX ? "scroll" : "auto",
overflowY: noScroll || noScrollY ? "hidden" : permanentScrollbars || permanentScrollbarY ? "scroll" : "auto",
direction: rtl === true && "rtl" || rtl === false && "ltr" || null
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ export default class Scrollbar extends React.Component {
...props,
className: "ScrollbarsCustom-holder ScrollbarsCustom-native" + (className ? " " + className : ""),
style: {
...(defaultStyles && defaultStyles.holder.native),
...(defaultStyles && defaultElementsStyles.holder.native),
...style,
overflowX:
noScroll || noScrollX
Expand Down

0 comments on commit 107b6fe

Please sign in to comment.