comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
55.75k stars 5.88k forks source link

Some dropdowns not working - have to use left/right arrows #3119

Open rconstantine opened 7 months ago

rconstantine commented 7 months ago

I'm on Windows 11 using the latest git clone. I'm on Brave Browser (Chrome) with "shields down". Just tried on Edge and same behavior as outlined below.

While this affects many nodes, KSampler is a good example of what I'm seeing.

control_after_generate and scheduler work as expected: i.e. if I click it, the list opens, and I can select from the list.

sampler_name, on the other hand, will pop open the list, but selecting from it does nothing. Instead, I must use the left/right arrows in order to change the sampler_name value, which is a pain in the butt.

That said, some nodes I use have dozens or hundreds of options and left/right is just not workable in those cases. Has anyone seen this behavior and know of a solution? Since the control for each of the items I mentions should be the same, I can't think of why they'd behave differently.

rconstantine commented 7 months ago

I had hoped there was just something to do with numbers as the bad behavior only seems to show up for large numbers of things. However, I duplicated a ton of IP Adapter models so that the dropdown in Load IPAdapter Model would include 22+ items, but it did not break. Note that in KSampler's sampler_name, there are 22 items.

I'm also using the Portrait Master node (just barely installed it, but the above behavior has been going on for weeks, so this node didn't break anything), and the dropdowns with less than 22 items work fine, but those that are that size or larger are also broken. Note that the dropdown with the most items less than 22 is 15. This is why I tried the above experiment. I had hoped it was just a number issue. :(