SetMouseCursorWidget only works when I release mouse press

Hello! I’m working on drag and drop functionality for an inventory system. I want to SetMouseCursorWidget to the widget of an item if you’ve clicked it and dragged, however it instead just hides the cursor and only shows the widget when I release the mouse click.

It functions correctly if I use this line in the NativeOnMouseButtonDown of the widget it clicked and dragged on:

FReply::Handled().CaptureMouse(TakeWidget());

instead of

FReply::Handled();

However if the mouse is captured it doesn’t register the NativeOnMouseButtonUp that I need called on a different widget.

I don’t know much about mouse capturing so I apologize if this is a silly question, but I can’t find an answer online.