Skip to content

Commit

Permalink
Merge pull request #69 from xobotyi/dev-master
Browse files Browse the repository at this point in the history
v4.0.0-alpha.20
  • Loading branch information
xobotyi authored May 24, 2019
2 parents 83eef25 + 932a441 commit ec7fbdc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-scrollbars-custom",
"description": "The best React custom scrollbars component",
"version": "4.0.0-alpha.19",
"version": "4.0.0-alpha.20",
"repository": {
"type": "git",
"url": "https://github.com/xobotyi/react-scrollbars-custom.git"
Expand Down
15 changes: 9 additions & 6 deletions src/Scrollbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,11 @@ export default class Scrollbar extends React.Component<ScrollbarProps, Scrollbar
content: {
...(useDefaultStyles && defaultStyle.content),
...(useDefaultStyles &&
!(
props.translateContentSizesToHolder ||
props.translateContentSizeYToHolder ||
props.translateContentSizeXToHolder
) && {
minHeight: "100%",
!(props.translateContentSizesToHolder || props.translateContentSizeYToHolder) && {
minHeight: "100%"
}),
...(useDefaultStyles &&
!(props.translateContentSizesToHolder || props.translateContentSizeXToHolder) && {
minWidth: "100%"
}),
...props.contentProps!.style
Expand Down Expand Up @@ -747,6 +746,10 @@ export default class Scrollbar extends React.Component<ScrollbarProps, Scrollbar
maximalThumbYSize,

fallbackScrollbarWidth,
scrollbarWidth,

scrollTop,
scrollLeft,

trackClickBehavior,

Expand Down

0 comments on commit ec7fbdc

Please sign in to comment.