gantt-task-react-v 1.0.42 → 1.0.43

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.
@@ -17073,7 +17073,12 @@ const useTaskTooltip = (changeInProgress) => {
17073
17073
  context
17074
17074
  } = useFloating({
17075
17075
  open: Boolean(tooltipTask),
17076
- middleware: [offset(10), flip(), shift()],
17076
+ placement: "right",
17077
+ middleware: [
17078
+ offset(10),
17079
+ flip({ fallbackPlacements: ["right-start", "right-end"] }),
17080
+ shift()
17081
+ ],
17077
17082
  whileElementsMounted: autoUpdate,
17078
17083
  strategy: "absolute"
17079
17084
  });
@@ -17090,7 +17090,12 @@
17090
17090
  context
17091
17091
  } = useFloating({
17092
17092
  open: Boolean(tooltipTask),
17093
- middleware: [offset(10), flip(), shift()],
17093
+ placement: "right",
17094
+ middleware: [
17095
+ offset(10),
17096
+ flip({ fallbackPlacements: ["right-start", "right-end"] }),
17097
+ shift()
17098
+ ],
17094
17099
  whileElementsMounted: autoUpdate,
17095
17100
  strategy: "absolute"
17096
17101
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-v",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
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",