gantt-task-react-v 1.0.43 → 1.0.44

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.
@@ -4620,7 +4620,7 @@ const Tooltip = ({
4620
4620
  left: tooltipX ?? 0,
4621
4621
  width: "max-content",
4622
4622
  fontFamily: "var(--gantt-font-family)",
4623
- zIndex: 11
4623
+ zIndex: 9999
4624
4624
  },
4625
4625
  ...getFloatingProps(),
4626
4626
  children: /* @__PURE__ */ jsx(TooltipContent, { task })
@@ -17073,12 +17073,7 @@ const useTaskTooltip = (changeInProgress) => {
17073
17073
  context
17074
17074
  } = useFloating({
17075
17075
  open: Boolean(tooltipTask),
17076
- placement: "right",
17077
- middleware: [
17078
- offset(10),
17079
- flip({ fallbackPlacements: ["right-start", "right-end"] }),
17080
- shift()
17081
- ],
17076
+ middleware: [offset(10), flip(), shift()],
17082
17077
  whileElementsMounted: autoUpdate,
17083
17078
  strategy: "absolute"
17084
17079
  });
@@ -4637,7 +4637,7 @@
4637
4637
  left: tooltipX ?? 0,
4638
4638
  width: "max-content",
4639
4639
  fontFamily: "var(--gantt-font-family)",
4640
- zIndex: 11
4640
+ zIndex: 9999
4641
4641
  },
4642
4642
  ...getFloatingProps(),
4643
4643
  children: /* @__PURE__ */ jsxRuntime.jsx(TooltipContent, { task })
@@ -17090,12 +17090,7 @@
17090
17090
  context
17091
17091
  } = useFloating({
17092
17092
  open: Boolean(tooltipTask),
17093
- placement: "right",
17094
- middleware: [
17095
- offset(10),
17096
- flip({ fallbackPlacements: ["right-start", "right-end"] }),
17097
- shift()
17098
- ],
17093
+ middleware: [offset(10), flip(), shift()],
17099
17094
  whileElementsMounted: autoUpdate,
17100
17095
  strategy: "absolute"
17101
17096
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "Interactive Gantt Chart for React with TypeScript.",
5
5
  "author": "aguilanbon",
6
6
  "homepage": "https://github.com/aguilanbon/gantt-task-react-v",