UMG Interrupts KeyPress Events on Mouse Event

Goal: Let users shift drag items in inventory to split it.
Bug: First time after making inventory panel visible mouse click events will interrupt the Shift modifier. Second time works fine. It looks like when a UniformGridPanel gets focus it interrupts the keyboard held down event.

I also tried using the Is Key Pressed function but it returned false as well.

Left Shift Modifier

I get the same with ctrl and left mouse button… makes holding modifiers unusable :frowning: Current version 4.25.3 Linux

If any1 come across this check https://forums.unrealengine.com/t/is-input-key-down-in-widget-issue/72271/9 If your widget is focusable then upon clicking on it, it will gain focus and interrupt key pressed events. Solution is set IsFocusable=false on your root widget or i guess individual widgets if that won’t work.