Skip to content

[Formulus] Login Button Not Responsive After Manual Credential Entry #229

@najuna-brian

Description

@najuna-brian

Problem

The login button on the Settings screen appears enabled (green) but doesn't respond to taps when credentials are typed or pasted manually. It works fine when using the QR scanner.

Expected Behavior

  • Button enables when all fields are filled
  • Button responds to taps and initiates login
  • Button shows visual feedback when pressed

Actual Behavior

  • Button correctly shows as enabled (green)
  • Button does not respond to taps
  • No visual feedback when pressed
  • Login does not initiate

Steps to Reproduce

  1. Open Settings screen
  2. Manually type or paste Server URL, Username, and Password
  3. Observe button turns green
  4. Tap the Login button
  5. Result: Nothing happens

When It Works

  • QR scanner flow works correctly (bypasses button)

Technical Context

  • Button disabled state calculated inline during render
  • onPress uses conditional: onPress={isButtonDisabled ? undefined : handleLogin}
  • Button inside ScrollView
  • React state batching may cause timing issues with state updates

Impact

Users cannot log in when entering credentials manually, requiring QR scanner workaround.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions