PasswordBox: Password reveal button is not shown any longer when re-entering the control
See original GitHub issueDescribe the bug
By default the PasswordBox
shows a password reveal button when the PasswordBox has focus and some content. However, when stepping out of the PasswordBox and then back into it, the password reveal button is no longer shown. Instead, the user will first have to clear the PasswordBox and then start typing again for the reveal button to show up.
Steps to reproduce the bug
- Open the XAML Controls Gallery app and go to the PasswordBox page.
- Start typing into a PasswordBox so that the reveal button is shown
- Set focus on another UI element, then re-enter the PasswordBox
Observe that the reveal button is no longer shown even though the PasswordBox has both focus and content.
Expected behavior The password reveal button should be shown when re-entering a PasswordBox with content.
Screenshots (A focused PasswordBox with focus and content, yet no password reveal button.)
Version Info
Windows app type:
UWP | Win32 |
---|---|
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
May 2020 Update (19041) | Yes |
November 2019 Update (18363) | |
May 2019 Update (18362) | |
October 2018 Update (17763) | |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Xbox | |
Surface Hub | |
IoT |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
(UWP) How to make the password reveal button always ...
If the PasswordBox loses focus and then regains focus, the reveal button is not shown again unless the password is cleared and character...
Read more >PasswordBox.PasswordRevealMode Property - UWP
If the PasswordBox loses focus and then regains focus, the reveal button is not shown again unless the password is cleared and character...
Read more >Safari created a strong password but did not remember it
Simply put the cursor in the password field on the website in question and it will show you an option to use the...
Read more >The Dramatic Password Reveal
Checking the "display characters" checkbox overrides the password ... home or in a private work area, why not opt to reveal your password?...
Read more >enter your password show password
Once successfully authenticated, the password selected will be displayed. The native password reveal button has important security measures built into the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you, our docs team loves user contributions!
@YuliKl I would just open a PR with the updated documentation instead (and link it here). Will get the change faster into this docs based on previous experiences 😃