CommonButton stuck in pressed when navigating off the button

Hi,

I noticed Common Buttons become stuck in the Pressed state if the button loses focus before the pressed key is released. Looking into SCommonButton, it looks like SCommonButton::OnFocusLost does not call either Release() or SButton::OnFocusLost. I think either of these calls should fix this issue, but I was wondering if it was intended for SCommonButton::OnFocusLost to not be calling Release()?

Thanks!

Steps to Reproduce

Hi,

Thanks for reporting this! It looks to be an oversight that is likely missed since SButton::OnMouseCaptureLost will also release the button (if the click method is set to Down and Up). I’ve gone ahead and added a call to SButton::OnFocusLost in CL#43395536.

Best,

Cody

Awesome, thanks for the help!