@megha-ui/react 1.2.504 → 1.2.506

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.
@@ -55,14 +55,17 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
55
55
  setDraggableIndex(_dragIndex);
56
56
  }, [columns]);
57
57
  const checkAvailableForTooltip = (id) => {
58
- const tooltips = document.querySelectorAll(".react-tooltip");
59
- const currentTooltip = [];
60
- tooltips.forEach((value) => {
61
- if (value.id === id) {
62
- currentTooltip.push(value);
63
- }
64
- });
65
- console.log(currentTooltip);
58
+ setTimeout(() => {
59
+ const tooltips = document.querySelectorAll(".react-tooltip");
60
+ const currentTooltip = [];
61
+ tooltips.forEach((value) => {
62
+ console.log(value);
63
+ if (value.id === id) {
64
+ currentTooltip.push(value);
65
+ }
66
+ });
67
+ console.log(currentTooltip);
68
+ }, 50);
66
69
  };
67
70
  return isExpandable &&
68
71
  ((_a = item === null || item === void 0 ? void 0 : item.id) === null || _a === void 0 ? void 0 : _a.value) &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.504",
3
+ "version": "1.2.506",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",