@elliemae/ds-dialog 2.3.0-next.8 → 2.3.0-rc.3

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.
package/cjs/DSDialog.js CHANGED
@@ -79,7 +79,7 @@ const DSDialog = props => {
79
79
 
80
80
  const body = document.getElementsByTagName('body')[0];
81
81
  const {
82
- offsetHeight,
82
+ clientHeight,
83
83
  scrollHeight
84
84
  } = body;
85
85
  const padding = (_window$getComputedSt = window.getComputedStyle(body, null)) === null || _window$getComputedSt === void 0 ? void 0 : _window$getComputedSt.getPropertyValue('padding-right');
@@ -88,7 +88,7 @@ const DSDialog = props => {
88
88
  padding: '0px'
89
89
  });
90
90
  return setBodyInfo({
91
- overflow: offsetHeight < scrollHeight,
91
+ overflow: scrollHeight > clientHeight,
92
92
  padding
93
93
  });
94
94
  }, [isOpen]);
package/esm/DSDialog.js CHANGED
@@ -68,7 +68,7 @@ const DSDialog = props => {
68
68
 
69
69
  const body = document.getElementsByTagName('body')[0];
70
70
  const {
71
- offsetHeight,
71
+ clientHeight,
72
72
  scrollHeight
73
73
  } = body;
74
74
  const padding = (_window$getComputedSt = window.getComputedStyle(body, null)) === null || _window$getComputedSt === void 0 ? void 0 : _window$getComputedSt.getPropertyValue('padding-right');
@@ -77,7 +77,7 @@ const DSDialog = props => {
77
77
  padding: '0px'
78
78
  });
79
79
  return setBodyInfo({
80
- overflow: offsetHeight < scrollHeight,
80
+ overflow: scrollHeight > clientHeight,
81
81
  padding
82
82
  });
83
83
  }, [isOpen]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-dialog",
3
- "version": "2.3.0-next.8",
3
+ "version": "2.3.0-rc.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Dialog",
6
6
  "module": "./esm/index.js",
@@ -60,8 +60,10 @@
60
60
  "build": "node ../../scripts/build/build.js"
61
61
  },
62
62
  "dependencies": {
63
- "@elliemae/ds-props-helpers": "2.3.0-next.8",
64
- "@elliemae/ds-system": "2.3.0-next.8",
63
+ "@elliemae/ds-button": "2.3.0-rc.3",
64
+ "@elliemae/ds-icons": "2.3.0-rc.3",
65
+ "@elliemae/ds-props-helpers": "2.3.0-rc.3",
66
+ "@elliemae/ds-system": "2.3.0-rc.3",
65
67
  "@xstyled/styled-components": "~3.1.1",
66
68
  "react-desc": "~4.1.3"
67
69
  },