-
Notifications
You must be signed in to change notification settings - Fork 368
Description
Prerequisites
- I am running the latest version of ComfyUI
- I have searched existing issues to make sure this isn't a duplicate
- I have tested with all custom nodes disabled (see how)
What happened?
In frontend v1.26.8 a bug has been introduced causing incorrect mouse coords regarding node detection.
SANITY CHECK: when the mouse moves within the border of the node - the mouse turns to a cross.
When the mouse moves outside the border of the node - the mouse turns to an arrow.
Ground truth behavior.
https://github.com/user-attachments/assets/46f55858-ed10-49d0-90f6-340bd61352b9
BUG: Suddenly appears.
Now the top of the node is offset inside the node?
The top of the node, is no longer the top of the node.
The top of the node is now inside the node.
There is a large portion at the top of the node where it cannot be interacted with.
https://github.com/user-attachments/assets/f43a69a9-df75-480f-94b5-ab15b5bc8f1f
Steps to Reproduce
- Hold alt to duplicate a node
- Sometimes, but mostly always, depending on the zoom factor of the viewport, an extremely large offset from the top of the node occurs - or a small offset at least
- Pay close attention.
ComfyUI Frontend Version
v1.26.8 , v1.26.9
Browser
Chrome/Chromium
Additional Context
This is not only causing mis-clicks when trying to move native nodes. But also causing incorrect mouse click detection for custom nodes.
┆Issue is synchronized with this Notion page by Unito