From 5881263afacd807d21f7b4195c9543754cb99887 Mon Sep 17 00:00:00 2001 From: Nicolai Henriksen Date: Thu, 2 Mar 2023 06:32:47 +0100 Subject: [PATCH] Fix PasswordBox keyboard focus traversal issue (#3096) * Extend SmartHint demo page with new features * Handle forward/backward keyboard focus on reveal style PasswordBox * Add UI test to verify tabbing works * Fix issue with backwards focus traversal when hiding a revealed password * Update UI test with syntax feature which is hopefully added to XAMLTest * Rev'ing XAMLTest --------- Co-authored-by: Kevin Bost --- MainDemo.Wpf/SmartHint.xaml | 20 +++++++--- .../WPF/PasswordBoxes/PasswordBoxTests.cs | 37 +++++++++++++++++++ .../Behaviors/PasswordBoxBehavior.cs | 24 ++++++++++++ 3 files changed, 76 insertions(+), 5 deletions(-) diff --git a/MainDemo.Wpf/SmartHint.xaml b/MainDemo.Wpf/SmartHint.xaml index 72fb5f9928..f04629e44b 100644 --- a/MainDemo.Wpf/SmartHint.xaml +++ b/MainDemo.Wpf/SmartHint.xaml @@ -408,7 +408,11 @@ - + + + + +