@onesy/ui-react 1.0.136 → 1.0.138

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.
@@ -224,13 +224,16 @@ const TableCell = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
224
224
  const offsetNew = root.offsetLeft;
225
225
  setStickyActive(offsetOriginal !== offsetNew);
226
226
  };
227
+
228
+ // initial
229
+ method();
230
+ setTimeout(() => {
231
+ method();
232
+ }, 150);
227
233
  if (parentOverflow) {
228
234
  parentOverflow.addEventListener('scroll', method, {
229
235
  passive: false
230
236
  });
231
-
232
- // initial
233
- method();
234
237
  }
235
238
  return () => {
236
239
  if (parentOverflow) parentOverflow.removeEventListener('scroll', method);
@@ -201,13 +201,16 @@ const TableCell = /*#__PURE__*/React.forwardRef((props_, ref) => {
201
201
  const offsetNew = root.offsetLeft;
202
202
  setStickyActive(offsetOriginal !== offsetNew);
203
203
  };
204
+
205
+ // initial
206
+ method();
207
+ setTimeout(() => {
208
+ method();
209
+ }, 150);
204
210
  if (parentOverflow) {
205
211
  parentOverflow.addEventListener('scroll', method, {
206
212
  passive: false
207
213
  });
208
-
209
- // initial
210
- method();
211
214
  }
212
215
  return () => {
213
216
  if (parentOverflow) parentOverflow.removeEventListener('scroll', method);
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.135
1
+ /** @license UiReact v1.0.137
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.135
1
+ /** @license UiReact v1.0.137
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.136",
3
+ "version": "1.0.138",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar Erić <lazareric1@proton.me>",