@micromag/element-scroll 0.3.656 → 0.3.660

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/es/index.js +1 -1
  2. package/package.json +3 -3
package/es/index.js CHANGED
@@ -143,7 +143,7 @@ function Scroll(_ref) {
143
143
  }
144
144
  }, [scrolleeRef, scrollPosition]);
145
145
  return /*#__PURE__*/React.createElement("div", {
146
- className: classNames([styles.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, styles.withScroll, !disabled), className, className !== null), styles[verticalAlign], verticalAlign !== null), styles.withArrow, showArrow && withArrow), styles.withShadow, withShadow)]),
146
+ className: classNames([styles.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, styles.withScroll, !disabled), className, className !== null), styles[verticalAlign], verticalAlign !== null && scrolleeHeight < scrollableHeight), styles.withArrow, showArrow && withArrow), styles.withShadow, withShadow)]),
147
147
  style: finalStyle
148
148
  }, /*#__PURE__*/React.createElement("div", Object.assign({
149
149
  className: styles.scrollable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-scroll",
3
- "version": "0.3.656",
3
+ "version": "0.3.660",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/runtime": "^7.13.10",
62
- "@micromag/core": "^0.3.656",
62
+ "@micromag/core": "^0.3.660",
63
63
  "@use-gesture/react": "^10.3.0",
64
64
  "classnames": "^2.2.6",
65
65
  "lodash": "^4.17.21",
@@ -71,5 +71,5 @@
71
71
  "access": "public",
72
72
  "registry": "https://registry.npmjs.org/"
73
73
  },
74
- "gitHead": "fd956cc4a183b621df124f3f3afbae4af974db27"
74
+ "gitHead": "584698bf4ef786f8fd35853328977554367515d9"
75
75
  }