question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PasswordBox: Password reveal button is not shown any longer when re-entering the control

See original GitHub issue

Describe 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

  1. Open the XAML Controls Gallery app and go to the PasswordBox page.
  2. Start typing into a PasswordBox so that the reveal button is shown
  3. 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 image (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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
YuliKlcommented, Sep 8, 2020

Thank you, our docs team loves user contributions!

1reaction
Felix-Devcommented, Sep 8, 2020

@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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found