Skip to content

Implement possible fix for mobile autofill - #41

Merged
asubowo merged 2 commits into
mainfrom
dev
Jul 26, 2026
Merged

Implement possible fix for mobile autofill#41
asubowo merged 2 commits into
mainfrom
dev

Conversation

@asubowo

@asubowo asubowo commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

This PR should address issues with password manager autofill behavior on mobile only, where the password manager is unable fill in credentials due to an observer preventing an extension from toggling the field type. keyword should.

asubowo and others added 2 commits July 26, 2026 16:56
The stock keycloakify useIsPasswordRevealed hook uses a MutationObserver
that reverts any external change to a password input's type attribute
back to whatever the reveal-toggle state says it should be. Some mobile
autofill flows briefly flip type from password to text to write the
value before flipping back; the observer fought that. Replace it with a
local hook that only sets type in response to the user's own toggle
click.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@asubowo
asubowo merged commit 252bf7f into main Jul 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant