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