diff --git a/Source/ImGui/Private/Widgets/SImGuiWidget.cpp b/Source/ImGui/Private/Widgets/SImGuiWidget.cpp index 1fa872f..bfc617e 100644 --- a/Source/ImGui/Private/Widgets/SImGuiWidget.cpp +++ b/Source/ImGui/Private/Widgets/SImGuiWidget.cpp @@ -377,7 +377,8 @@ void SImGuiWidget::UpdateInputState() auto& Properties = ModuleManager->GetProperties(); auto* ContextPropxy = ModuleManager->GetContextManager().GetContextProxy(ContextIndex); - const bool bEnableTransparentMouseInput = Properties.IsMouseInputShared() && !ContextPropxy->IsMouseHoveringAnyWindow(); + const bool bEnableTransparentMouseInput = Properties.IsMouseInputShared() + && !(ContextPropxy->IsMouseHoveringAnyWindow() || ContextPropxy->HasActiveItem()); if (bTransparentMouseInput != bEnableTransparentMouseInput) { bTransparentMouseInput = bEnableTransparentMouseInput;