We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec038c7 commit 7bf8b70Copy full SHA for 7bf8b70
1 file changed
src/extensions/react-flow/nodes/NodeContent.tsx
@@ -520,8 +520,8 @@ export function NodeContent<CONTENT_PROPS = any>({
520
? {
521
width,
522
height,
523
- maxWidth: resizeMaxDimensions?.width ?? undefined,
524
- maxHeight: resizeMaxDimensions?.height ?? undefined,
+ maxWidth: resizeDirections.right ? resizeMaxDimensions?.width ?? undefined : undefined,
+ maxHeight: resizeDirections.bottom ? resizeMaxDimensions?.height ?? undefined : undefined,
525
}
526
: {};
527
0 commit comments