Skip to content

fix: floating toolbar key size and tall popup dismissal (#920) - #922

Merged
LeanBitLab merged 2 commits into
mainfrom
fix/floating-toolbar-size-popup-dismiss
Nov 25, 2026
Merged

LeanBitLab merged 2 commits into
mainfrom
fix/floating-toolbar-size-popup-dismiss

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Changes

  • Popup ([Bug]: Secondary key disappears after 4th/5th row #920): with gesture typing on, sliding into the upper rows of a tall popup (e.g. Vietnamese a, 5 rows) crossed the gesture area limit (25% of keyboard height above it), which cancelled all pointer trackers and dismissed the popup. While a popup is shown, leaving the gesture area now only stops gesture detection.
  • Floating toolbar: pinned keys were capped to half the strip width divided by the key count (floor ~40% of a letter key width), so they got tiny; full toolbar keys were stretched by auto-span into wide pills. Both now share one size that follows the floating strip height, clamped between 30dp and the docked size, and in floating mode auto-span spreads square keys with margins instead of stretching them.

Partial fix for #920: popup selection accuracy on multi-row popups is not addressed here.

Verification

  • ./gradlew :app:assembleStandardDebug builds; installed and checked on a device (popup no longer dismisses).

@LeanBitLab
LeanBitLab merged commit 2be9bc6 into main Nov 25, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/floating-toolbar-size-popup-dismiss branch November 25, 2026 12:13
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