@jobber/components 6.106.4-JOB-147120-dc74fc6.2 → 6.106.4-JOB-147120-bccb8f5.4

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.
@@ -92,6 +92,7 @@ function useModal({ open, activatorRef: refProp, onRequestClose, startedInsideRe
92
92
  onRequestClose === null || onRequestClose === void 0 ? void 0 : onRequestClose();
93
93
  },
94
94
  open: open,
95
+ whileElementsMounted: floatingUi_react.autoUpdate,
95
96
  middleware: [
96
97
  floatingUi_react.size({
97
98
  apply({ availableHeight, elements }) {
@@ -7,7 +7,7 @@ import { H as Heading } from '../Heading-es.js';
7
7
  import { B as Button } from '../Button-es.js';
8
8
  import { B as ButtonDismiss } from '../ButtonDismiss-es.js';
9
9
  import { n as noop } from '../noop-es.js';
10
- import { i as useFloatingNodeId, u as useFloating, c as size, d as useDismiss, n as useRole, g as useInteractions, h as useFloatingParentNodeId, j as FloatingTree, k as FloatingNode, F as FloatingPortal, p as FloatingFocusManager, q as FloatingOverlay } from '../floating-ui.react-es.js';
10
+ import { i as useFloatingNodeId, u as useFloating, b as autoUpdate, c as size, d as useDismiss, n as useRole, g as useInteractions, h as useFloatingParentNodeId, j as FloatingTree, k as FloatingNode, F as FloatingPortal, p as FloatingFocusManager, q as FloatingOverlay } from '../floating-ui.react-es.js';
11
11
  import { b as identity } from '../identity-es.js';
12
12
  import { c as calculateMaxHeight } from '../maxHeight-es.js';
13
13
  import { A as AtlantisPortalContent } from '../AtlantisPortalContent-es.js';
@@ -90,6 +90,7 @@ function useModal({ open, activatorRef: refProp, onRequestClose, startedInsideRe
90
90
  onRequestClose === null || onRequestClose === void 0 ? void 0 : onRequestClose();
91
91
  },
92
92
  open: open,
93
+ whileElementsMounted: autoUpdate,
93
94
  middleware: [
94
95
  size({
95
96
  apply({ availableHeight, elements }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.106.4-JOB-147120-dc74fc6.2+dc74fc6e2",
3
+ "version": "6.106.4-JOB-147120-bccb8f5.4+bccb8f506",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -538,5 +538,5 @@
538
538
  "> 1%",
539
539
  "IE 10"
540
540
  ],
541
- "gitHead": "dc74fc6e2f9e7c6223d3409b7927b8acb72bdc15"
541
+ "gitHead": "bccb8f506b8f1c7ac3a536a8123559e5eab0d57e"
542
542
  }