[PR #1568] [MERGED] Set cursor position after toggle password visibility #15721

Closed
opened 2026-04-15 01:52:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/1568
Author: @jlf0dev
Created: 10/8/2021
Status: Merged
Merged: 10/8/2021
Merged by: @jlf0dev

Base: masterHead: bug/password-visible-cursor


📝 Commits (1)

  • 138c245 Set cursor position after toggle password visibility

📊 Changes

3 files changed (+10 additions, -3 deletions)

View changed files

📝 src/App/Pages/Accounts/LockPageViewModel.cs (+1 -0)
📝 src/App/Pages/Accounts/LoginPageViewModel.cs (+3 -1)
📝 src/App/Pages/Accounts/RegisterPageViewModel.cs (+6 -2)

📄 Description

Issue

On Android, the cursor for passwords was being reset to the beginning of the text after the visibility was toggled with the eye icon.

Fix

Set the cursor position to the end of the text after visibility toggle for the following pages:

  • Lock page
  • Login page
  • Register page

Closes #1139


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/1568 **Author:** [@jlf0dev](https://github.com/jlf0dev) **Created:** 10/8/2021 **Status:** ✅ Merged **Merged:** 10/8/2021 **Merged by:** [@jlf0dev](https://github.com/jlf0dev) **Base:** `master` ← **Head:** `bug/password-visible-cursor` --- ### 📝 Commits (1) - [`138c245`](https://github.com/bitwarden/android/commit/138c2456b3c879e2c1a51aa7fa100bffdf14b072) Set cursor position after toggle password visibility ### 📊 Changes **3 files changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/App/Pages/Accounts/LockPageViewModel.cs` (+1 -0) 📝 `src/App/Pages/Accounts/LoginPageViewModel.cs` (+3 -1) 📝 `src/App/Pages/Accounts/RegisterPageViewModel.cs` (+6 -2) </details> ### 📄 Description ## Issue On Android, the cursor for passwords was being reset to the beginning of the text after the visibility was toggled with the eye icon. ## Fix Set the cursor position to the end of the text after visibility toggle for the following pages: - Lock page - Login page - Register page Closes #1139 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 01:52:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#15721