Comfy-Org / Comfy-Org/ComfyUI_frontend
[Bug]: Node space calculation missing padding
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### 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
1. `graph.nodes[0].addWidget("toggle", "switz", true, () => {}, {})`
1. Observe lack of padding

### Debug Logs
```powershell
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](https://www.notion.so/Issue-3754-Bug-Node-space-calculation-missing-padding-1e96d73d365081c58006d67cb3769167) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.