From cf694503006c98423203a0a3204fdaa00b7f4246 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Tue, 2 Mar 2021 15:34:45 +0000 Subject: [PATCH] Note in comments that checkbox navigation has been fixed on UE master but not released yet --- .../StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.cpp b/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.cpp index d966b56..6b849a8 100644 --- a/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.cpp +++ b/Source/StevesUEHelpers/Private/StevesUI/SFocusableCheckBox.cpp @@ -56,8 +56,8 @@ void SFocusableCheckBox::Construct(const FArguments& InArgs) FReply SFocusableCheckBox::OnKeyDown(const FGeometry& MyGeometry, const FKeyEvent& InKeyEvent) { - // Default behaviour is to return Unhandled for ANY keys apart from Accept, which breaks keyboard nav - // I'm sure this is a bug + // Default 4.26.1 behaviour is to return Unhandled for ANY keys apart from Accept, which breaks keyboard nav + // This is a bug and it's been fixed in the source version but not released yet, so work around it if (FSlateApplication::Get().GetNavigationActionFromKey(InKeyEvent) == EUINavigationAction::Accept) { // for accept, let the immediate superclass do it