-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Focus with AutoFocusBehavior #60
Comments
The You can always specify the If all you want is to invoke a command when the Enter key is pressed on the |
Thanks for the lightning fast answer! I would expect that pressing the Tab Key and the Enter Key would have the same behavior, while it's not true. In the XAML I posted, if you press Tab, this is the order you'll get
However, pressing Enter will lead you to:
I expected both to be the same |
That's a fair point... when I wrote the behavior, I targeted only For now, my advice is for you to copy the behavior code directly to your project and make the appropriate changes (removing the last bit on this line should suffice) |
I'll do that. Thank you so much! |
Given this XAML, I expect that upon pressing Enter in the PasswordBox, the Focus should be set to the Button. However, the TextBox is focused instead.
IMHO, it would be more useful if the button was focused, since the user can save time this way and will intuitively press Enter again to "Continue"
The text was updated successfully, but these errors were encountered: