@flowgram.ai/free-layout-core 0.5.6 → 1.0.0
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/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/esm/index.js
CHANGED
|
@@ -3662,7 +3662,7 @@ function usePlaygroundReadonlyState(listenChange) {
|
|
|
3662
3662
|
function checkTargetDraggable(el) {
|
|
3663
3663
|
return el && el.tagName !== "INPUT" && el.tagName !== "TEXTAREA" && !el.closest(".flow-canvas-not-draggable");
|
|
3664
3664
|
}
|
|
3665
|
-
var isFirefox = navigator?.userAgent?.includes?.("Firefox");
|
|
3665
|
+
var isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes?.("Firefox");
|
|
3666
3666
|
function useNodeRender(nodeFromProps) {
|
|
3667
3667
|
const node = nodeFromProps || useContext(PlaygroundEntityContext);
|
|
3668
3668
|
const renderData = node.getData(FlowNodeRenderData3);
|