ComfyUI
ComfyUI copied to clipboard
comfy menu goes under some elements
I noticed that the comfy menu goes under certain nodes (specifically text area of primitives).
I believe all is needed is to set the z-index of the .comfy-menu element to some large number (eg: 9999).
It's a problem caused by confliction of litegraph object and text area control.
Litegraph's objects are not html element. I heard that someone is trying to fix it.
ps. Oh, it could be my mistake. Since the dialogue is different, the menu could also be different.
you have a better understanding of how it works :)
I tried this dirty trick by setting the z-index to 9999 here https://github.com/comfyanonymous/ComfyUI/blob/dc9d1f31c853503f238a2d6eacd0e4c68d9e9e42/web/style.css#L91C15-L91C15
That seems to do the trick even though it doesn't actually "fix" the problem of the text area controls systemwise that has to be done on the litegraph level I guess.
you have a better understanding of how it works :)
I tried this dirty trick by setting the z-index to 9999 here https://github.com/comfyanonymous/ComfyUI/blob/dc9d1f31c853503f238a2d6eacd0e4c68d9e9e42/web/style.css#L91C15-L91C15
That seems to do the trick even though it doesn't actually "fix" the problem of the text area controls systemwise that has to be done on the litegraph level I guess.
It was my mistake. I got confused due to an issue between the text area and the node.