Skip to content

Double-tapping Shift does not enable Caps Lock #146

Description

@AsafMah

Describe the bug
Double-tapping Shift quickly does not enable Caps Lock. KeyboardState.onPressShift() rejects a legitimate second Shift press when it occurs within 100 ms of the first, even though the keyboard's double-tap timer is still active.

To Reproduce

  1. Open the LeanTypeDual keyboard.
  2. Tap Shift twice quickly.
  3. Observe that Shift remains temporary instead of locking.

Expected behavior
Any two distinct Shift taps within the configured double-tap timeout enable Caps Lock, including fast taps below 100 ms. A single Shift tap must remain temporary, and tapping Shift while locked must unlock it.

Screenshots
N/A

App version & Flavor
Current dev build; all flavors.

Device Info

  • Model: Samsung SM-S936B
  • OS version: N/A

Parent epic: #16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions