MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

NumericUpDown not focusable by pressing tab

Open corvinsz opened this issue 1 year ago • 2 comments

Bug explanation

When trying to focus the NumericUpDown control via tab (or shift+tab) the TextBox is not focused, but rather the entire control itself: NumericUpDownFocusBug

Version

5.1.0

corvinsz avatar Aug 21 '24 17:08 corvinsz

IsTabStop=false solves the annoying useless tabStop on the outer part of the control. However when you programmatically focus the NumericUpDown control, it is the outer control that gets the focus, not the textbox part which in my opinion should be the default.

jamesport079 avatar Aug 22 '24 12:08 jamesport079

@jamesport079 I agree with you. I opened a PR #3656 that should make the NumericUpDown control focusable via code and keyboard.

corvinsz avatar Aug 22 '24 18:08 corvinsz