@geotab/zenith 3.6.0-beta.1 → 3.6.0-beta.2

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.
@@ -116,7 +116,7 @@ const Absolute = ({ isOpen, id, paddingX, paddingY, className, children, trigger
116
116
  calculatePosition();
117
117
  }
118
118
  return () => { };
119
- }, [calculatePosition, children, isOpen]);
119
+ }, [calculatePosition, children, isOpen, isClientReady]);
120
120
  (0, react_1.useEffect)(() => {
121
121
  if (isOpen) {
122
122
  if (popupRef.current && prevScroll.current && shouldHoldScroll) {
@@ -113,7 +113,7 @@ export const Absolute = ({ isOpen, id, paddingX, paddingY, className, children,
113
113
  calculatePosition();
114
114
  }
115
115
  return () => { };
116
- }, [calculatePosition, children, isOpen]);
116
+ }, [calculatePosition, children, isOpen, isClientReady]);
117
117
  useEffect(() => {
118
118
  if (isOpen) {
119
119
  if (popupRef.current && prevScroll.current && shouldHoldScroll) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geotab/zenith",
3
- "version": "3.6.0-beta.1",
3
+ "version": "3.6.0-beta.2",
4
4
  "description": "Zenith components library on React",
5
5
  "main": "dist/index.js",
6
6
  "types": "esm/index.d.ts",