crossmate

A collaborative crossword app for iOS
Log | Files | Refs | LICENSE

commit 51605910df65e7879c46817acc98a753943fcecd
parent 768c2bc106efd0dc05ccb97363b7a1a19f039e16
Author: Michael Camilleri <[email protected]>
Date:   Fri, 18 Sep 2026 13:39:21 +0900

Keep keyboard layouts from dropping down

Switching between the letter and symbol layouts on an iPhone could make
the keyboard appear to drop down before it reappeared. The compact
layout's layer-toggle key was the one meta key left in SwiftUI's
animation transaction, unlike the iPad equivalent.

This commit disables those implicit animations in both compact keyboard
layouts, so the replacement happens in place.

Co-Authored-By: Codex GPT 5.6 Terra <[email protected]>

Diffstat:
MCrossmate/Views/Puzzle/KeyboardView.swift | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/Crossmate/Views/Puzzle/KeyboardView.swift b/Crossmate/Views/Puzzle/KeyboardView.swift @@ -118,6 +118,7 @@ struct KeyboardView: View { .fillsExtraKeyboardSpace() } else { layerToggleKey + .disablesKeyboardMetaAnimations() .keyWidthMultiplier(metaKeyWidthMultiplier) } @@ -214,6 +215,7 @@ struct KeyboardView: View { .fillsExtraKeyboardSpace() } else { layerToggleKey + .disablesKeyboardMetaAnimations() .keyWidthMultiplier(metaKeyWidthMultiplier) }