New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React flow node compartments are smaller than their parents #2513
Comments
gcoutable
added a commit
that referenced
this issue
Oct 31, 2023
The other solution could have to make node borders overlap by reducing the size of the node. But a list laid out node can have compartment or icon label (other kind of node could be supported later) without knowing it. With that solution the size of the parent should have been reduced if it has included compartment, but not with icon label. We do not want the layout of a node to know the type of its children, that why we have chosen to hide border instead. Bug: #2513 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable
added a commit
that referenced
this issue
Oct 31, 2023
The other solution could have to make node borders overlap by reducing the size of the node. But a list laid out node can have compartment or icon label (other kind of node could be supported later) without knowing it. With that solution the size of the parent should have been reduced if it has included compartment, but not with icon label. We do not want the layout of a node to know the type of its children, that why we have chosen to hide border instead. Bug: #2513 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
39 tasks
gcoutable
added a commit
that referenced
this issue
Oct 31, 2023
The other solution could have to make node borders overlap by reducing the size of the node. But a list laid out node can have compartment or icon label (other kind of node could be supported later) without knowing it. With that solution the size of the parent should have been reduced if it has included compartment, but not with icon label. We do not want the layout of a node to know the type of its children, that why we have chosen to hide border instead. Bug: #2513 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable
added a commit
that referenced
this issue
Oct 31, 2023
The other solution could have to make node borders overlap by reducing the size of the node. But a list laid out node can have compartment or icon label (other kind of node could be supported later) without knowing it. With that solution the size of the parent should have been reduced if it has included compartment, but not with icon label. We do not want the layout of a node to know the type of its children, that why we have chosen to hide border instead. Bug: #2513 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
gcoutable
added a commit
that referenced
this issue
Oct 31, 2023
The other solution could have to make node borders overlap by reducing the size of the node. But a list laid out node can have compartment or icon label (other kind of node could be supported later) without knowing it. With that solution the size of the parent should have been reduced if it has included compartment, but not with icon label. We do not want the layout of a node to know the type of its children, that why we have chosen to hide border instead. Bug: #2513 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
pcdavid
pushed a commit
that referenced
this issue
Oct 31, 2023
The other solution could have to make node borders overlap by reducing the size of the node. But a list laid out node can have compartment or icon label (other kind of node could be supported later) without knowing it. With that solution the size of the parent should have been reduced if it has included compartment, but not with icon label. We do not want the layout of a node to know the type of its children, that why we have chosen to hide border instead. Bug: #2513 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screenshots
With react-flow:
With former rendering library:
Expected behavior
compartments have same width than their parents
Actual behavior
compartments are smaller than their parents
The text was updated successfully, but these errors were encountered: