diff --git a/lib/rspace-header.ts b/lib/rspace-header.ts index 27866069..eb0c40bf 100644 --- a/lib/rspace-header.ts +++ b/lib/rspace-header.ts @@ -550,7 +550,11 @@ export function showAuthModal(callbacks?: Partial): void { abortConditional(); overlay.innerHTML = mode === 'signin' ? renderSignIn() : renderRegister(); attachModalListeners(); - if (mode === 'signin') startConditional(); + if (mode === 'signin') { + startConditional(); + // Auto-focus the passkey input so mobile shows autofill suggestions + setTimeout(() => (overlay.querySelector('#auth-signin-username') as HTMLInputElement)?.focus(), 100); + } } function abortConditional() { @@ -628,9 +632,8 @@ export function showAuthModal(callbacks?: Partial): void { class="rspace-auth-modal__input" id="auth-signin-username" type="text" - placeholder="Select a saved passkey..." + placeholder="Tap to see saved passkeys..." autocomplete="username webauthn" - readonly />
or