Immediate-Mode-UI / Nuklear

A single-header ANSI C immediate mode cross-platform GUI library
https://immediate-mode-ui.github.io/Nuklear/doc/index.html
Other
9.06k stars 542 forks source link

Comboboxes can't stay open #549

Closed Trnyx closed 1 year ago

Trnyx commented 1 year ago

I'm trying to use this example from the demo current_weapon = nk_combo(ctx, weapons, NK_LEN(weapons), current_weapon, 25, nk_vec2(200,200)); but on my program when I click on the combobox it opens and instantly close and I don't how to fix it the same thing is happening on tree. I looked up if someone had the same issue but I couldn't find one so I'm asking.

I'm using SDL2 with Nuklear.