Comfy-Org / Comfy-Org/ComfyUI_frontend
[Bug]: DOM Clipping does not register changes
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Frontend Version
1.20.4
### Expected Behavior
DOM Clipping is largely unnoticeable and transparent to the user.
### Actual Behavior
1. Badges get clipped
2. Deleting a node leaves whatever was clipped behind it 'unclipped'
### Steps to Reproduce
https://github.com/user-attachments/assets/9630eb94-bd20-4454-bc5d-438633a2da6d
### 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
Could add (weak?) refs / something to the "upper" node to all the things beneath it (would be useful state for various UI things).
Might be simple to just force recalc on delete.
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-3944-Bug-DOM-Clipping-does-not-register-changes-1f96d73d365081339bddd43dfdba8887) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.