@cloudscape-design/board-components 3.0.34 → 3.0.36
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.
package/internal/environment.js
CHANGED
|
@@ -269,8 +269,7 @@ function ItemContainerComponent({ item, placed, acquired, inTransition, transfor
|
|
|
269
269
|
focusDragHandle: () => { var _a; return (_a = dragHandleRef.current) === null || _a === void 0 ? void 0 : _a.focus(); },
|
|
270
270
|
}));
|
|
271
271
|
const isActive = (!!transition && !isHidden) || !!acquired;
|
|
272
|
-
const shouldUsePortal = (
|
|
273
|
-
(transition === null || transition === void 0 ? void 0 : transition.interactionType) === "pointer";
|
|
272
|
+
const shouldUsePortal = (transition === null || transition === void 0 ? void 0 : transition.operation) === "insert" && (transition === null || transition === void 0 ? void 0 : transition.interactionType) === "pointer";
|
|
274
273
|
const childrenRef = useRef(null);
|
|
275
274
|
if (!inTransition || isActive) {
|
|
276
275
|
childrenRef.current = children(!!(transition === null || transition === void 0 ? void 0 : transition.hasDropTarget));
|
package/internal/manifest.json
CHANGED