@imposium-hub/components 1.48.12 → 1.48.14

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.
@@ -56,7 +56,7 @@ var ImposiumDropdown = /** @class */ (function (_super) {
56
56
  var offsetX = scrollLeft;
57
57
  var offsetY = scrollTop;
58
58
  _this.setState({
59
- offset: { top: top_1 - offsetY, left: left + offsetX, bottom: bottom, right: right, width: width, height: height }
59
+ offset: { top: top_1 + offsetY, left: left + offsetX, bottom: bottom, right: right, width: width, height: height }
60
60
  });
61
61
  }
62
62
  };
@@ -46,7 +46,7 @@ export default class ImposiumDropdown extends React.PureComponent {
46
46
  const offsetX = scrollLeft;
47
47
  const offsetY = scrollTop;
48
48
  this.setState({
49
- offset: { top: top - offsetY, left: left + offsetX, bottom, right, width, height }
49
+ offset: { top: top + offsetY, left: left + offsetX, bottom, right, width, height }
50
50
  });
51
51
  }
52
52
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imposium-hub/components",
3
- "version": "1.48.12",
3
+ "version": "1.48.14",
4
4
  "description": "React & Typescript component / asset library for Imposium front-ends",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -76,7 +76,7 @@ export default class ImposiumDropdown extends React.PureComponent<
76
76
  const offsetY = scrollTop;
77
77
 
78
78
  this.setState({
79
- offset: { top: top - offsetY, left: left + offsetX, bottom, right, width, height }
79
+ offset: { top: top + offsetY, left: left + offsetX, bottom, right, width, height }
80
80
  });
81
81
  }
82
82
  };