@onesy/ui-react 1.0.135 → 1.0.136

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.
@@ -233,7 +233,7 @@ const TableCell = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
233
233
  method();
234
234
  }
235
235
  return () => {
236
- parentOverflow.removeEventListener('scroll', method);
236
+ if (parentOverflow) parentOverflow.removeEventListener('scroll', method);
237
237
  };
238
238
  }
239
239
  }
@@ -210,7 +210,7 @@ const TableCell = /*#__PURE__*/React.forwardRef((props_, ref) => {
210
210
  method();
211
211
  }
212
212
  return () => {
213
- parentOverflow.removeEventListener('scroll', method);
213
+ if (parentOverflow) parentOverflow.removeEventListener('scroll', method);
214
214
  };
215
215
  }
216
216
  }
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.134
1
+ /** @license UiReact v1.0.135
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.134
1
+ /** @license UiReact v1.0.135
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.135",
3
+ "version": "1.0.136",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar Erić <lazareric1@proton.me>",