diff --git a/imgui_internal.h b/imgui_internal.h index 59381135..7f6de494 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -640,7 +640,7 @@ struct IMGUI_API ImGuiDrawContext LayoutType = ImGuiLayoutType_Vertical; ItemWidth = 0.0f; ButtonRepeat = false; - AllowKeyboardFocus = true; + AllowKeyboardFocus = AllowNavDefaultFocus = true; TextWrapPos = -1.0f; ColorEditMode = ImGuiColorEditMode_RGB; memset(StackSizesBackup, 0, sizeof(StackSizesBackup));