We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73045fc commit 93c02a9Copy full SHA for 93c02a9
src/core/graph/subgraph/proxyWidget.ts
@@ -160,7 +160,8 @@ function resolveLinkedWidget(
160
if (!n) return [undefined, undefined]
161
const widget = n.widgets?.find((w: IBaseWidget) => w.name === widgetName)
162
//Slightly hacky. Force recursive resolution of nested widgets
163
- if (widget?.type === 'button' && widget.disabled) widget.computedHeight = 20
+ if (widget instanceof disconnectedWidget.constructor && isProxyWidget(widget))
164
+ widget.computedHeight = 20
165
return [n, widget]
166
}
167
0 commit comments