diff --git a/src/Ursa/Controls/VerificationCode/VerificationCode.cs b/src/Ursa/Controls/VerificationCode/VerificationCode.cs index 8253898..5e963bd 100644 --- a/src/Ursa/Controls/VerificationCode/VerificationCode.cs +++ b/src/Ursa/Controls/VerificationCode/VerificationCode.cs @@ -165,5 +165,15 @@ public class VerificationCode: TemplatedControl _currentIndex--; _itemsControl?.ContainerFromIndex(_currentIndex)?.Focus(); } + else if(e.Key == Key.Left && _currentIndex > 0) + { + _currentIndex--; + _itemsControl?.ContainerFromIndex(_currentIndex)?.Focus(); + } + else if(e.Key == Key.Right && _currentIndex < Count) + { + _currentIndex++; + _itemsControl?.ContainerFromIndex(_currentIndex)?.Focus(); + } } } \ No newline at end of file