Closed JamesMolina007 closed 4 weeks ago
Hello. Your error occurs because you placed a node inside another node.
Also, I don't understand why you need a mouseup event on an element with the fResizeHandle attribute, you can see how to resize a node in our examples.
There is an event for resize in the node
Okay the information about sizeChange really helpful thank you. I was reading the doc, saw the examples but I didnt find it so thats why I created that mouseEvent And, so Can´t I have nodes inside nodes? Basically Im trying to do a multi options component. But it needs to have its own connections because is a part of a support flow
the examples have all of this, both about resizing and about how to make child and parent nodes
sorry but I havent found an example or in the documentation something that explains about resizing and an example of Node and Parent Nodes.
This is my current component, it works but I would like to avoid that exception
okay, understood. With grouping.
Description
I'm trying to create a multi-select element that also has upper and lower connections. The template looks like this:
I add it to my list of nodes like this.
The thing is, I only receive this exception when node.elementType === ElementTypes.SquareMultiOptions and try to add one node inside
Steps to Reproduce
Creating a component which has its own connections and inside has nodes with their own connections
Expected Result
No Exception
Actual Result
chunk-DERR6ZUE.js?v=99b808c1:81 ERROR NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. at SortItemsByParentExecution2.moveChildrenItems (foblex-flow.mjs:9054:26) at foblex-flow.mjs:9034:12 at Array.forEach ()
at SortItemsByParentExecution2.handle (foblex-flow.mjs:9033:21)
at Pipeline.handle (foblex-mediator.js:12:41)
at _FMediator.send (foblex-mediator.js:33:23)
at SortItemLayersExecution2.handle (foblex-flow.mjs:9091:20)
at Pipeline.handle (foblex-mediator.js:12:41)
at _FMediator.send (foblex-mediator.js:33:23)
at Object.next (foblex-flow.mjs:10451:22)
Environment Details
Angular 18.0.7 Foblex Flow latest version
Screenshots or Videos
No response
Additional Context
No response