Skip to content

[BUG]: Password strength indicator shows "Weak" on empty field β€” should only appear after user starts typingΒ #313

Description

@Git-Shubham14

πŸš€ Feature Request

πŸ“Œ Feature Description

Fix the password strength indicator so it only appears
after the user begins typing in the password field,
not on an empty field.


❓ Problem Statement

Currently on the Sign Up page, the password strength
indicator (progress bar + "Weak" label) is visible
immediately when the page loads β€” even before the user
has typed a single character in the password field.

This is confusing and misleading:

  • "Weak" shown on an empty field makes no sense
  • It looks like a UI glitch to the user
  • Strength should only be evaluated after input begins

πŸ’‘ Proposed Solution

  • Hide the strength bar and label by default
    (display: none)
  • Show them only when the password field has
    at least 1 character typed
  • Hide them again if the user clears the field
    back to empty

🎯 Benefits

  • Cleaner, less confusing UI on page load
  • Strength indicator only appears when relevant
  • Matches industry-standard behavior seen on
    Google, GitHub, Myntra signup pages

πŸ“· Screenshots

Current Behavior:

Image

Metadata

Metadata

Assignees

Labels

SSoC26Program label for Social Summer of Code Season 5.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions