Trung0246 / ComfyUI-0246

Random nodes for ComfyUI
MIT License
113 stars 11 forks source link

[ Bug ] Text widgets shifted back to original node when using with Hub. #47

Open JorgeR81 opened 1 week ago

JorgeR81 commented 1 week ago

The text widgets are not placed correctly in the Hub node.


h1

JorgeR81 commented 1 week ago

If we zoom in a little, the text widget goes way.

But it's still not displayed in the Hub, in the correct area.

z2tb

h1b

Trung0246 commented 1 week ago

Hm weird, I also updated my comfy instance and this does shows correctly.

Maybe a conflict with other node pack.

JorgeR81 commented 1 week ago

I also updated my comfy instance and this does shows correctly.

This may be an old bug, but I never noticed. I only tried the text boxes in the Hub today.

I disabled all my other custom nodes, but I still have this issue. I tried in Chrome and Edge. I'm on Windows 10.


I also tried the alternative DOM implementation.

t00

It's a little better, but it also has issues. The text boxes are still not shown in the nodes. The text boxes are placed correctly in the Hub, but they are not usable. When I click on the text box in the Hub, it disappears, and it shows up in the node instead !

t2

Trung0246 commented 1 week ago

Yeah past version of comfyui did make text box editable in Hub. For some reason the current comfyui tried to refocus and shift the textbox widget to original node. Honestly this is really hard to fix so it's unlikely I'll touch it soon until I can find out what's keep shifting the textbox back to original location.

Will leave this issue open and see if I can figure out the root cause.