ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Bug]: Node space calculation missing padding

Open webfiltered opened this issue 7 months ago • 0 comments

Frontend Version

1.19.0

Expected Behavior

Nodes have the same amount of padding after the last widget

Actual Behavior

Bottom padding on nodes can be tiny in certain configurations.

Low priority for now. Potentially DOM widget related. Or bool/toggle.

Steps to Reproduce

This behaviour was seen in one of the nodes made last week; managed to repro whilst doing something unrelated.

  1. Add standard CLIP loader
  2. graph.nodes[0].addWidget("toggle", "switz", true, () => {}, {})
  3. Observe lack of padding

Image

Debug Logs

N/A

Browser Logs

N/A

Setting JSON

Default

What browsers do you use to access the UI ?

No response

Other Information

No response

┆Issue is synchronized with this Notion page by Unito

webfiltered avatar May 04 '25 19:05 webfiltered