diff --git a/nuklear.h b/nuklear.h index 7c33ba63d..c8b96ee35 100644 --- a/nuklear.h +++ b/nuklear.h @@ -21538,6 +21538,7 @@ nk_nonblock_begin(struct nk_context *ctx, root->flags |= NK_WINDOW_REMOVE_ROM; root = root->parent; } + win->popup.buf.active = 0; return is_active; } popup->bounds = body; diff --git a/src/nuklear_popup.c b/src/nuklear_popup.c index 6091a8552..8b2339e5c 100644 --- a/src/nuklear_popup.c +++ b/src/nuklear_popup.c @@ -153,6 +153,7 @@ nk_nonblock_begin(struct nk_context *ctx, root->flags |= NK_WINDOW_REMOVE_ROM; root = root->parent; } + win->popup.buf.active = 0; return is_active; } popup->bounds = body;