AT Mot — a bilingual (EN/FR) daily word game native to the AT Protocol.
0

Configure Feed

Select the types of activity you want to include in your feed.

Merge fix/hide-keyboard-on-result: hide on-screen keyboard on the result page

+8 -5
+8 -5
src/ui/playView.ts
··· 222 222 animateRow = -1; // one-shot: consumed by this render only 223 223 if (isFinished(state)) { 224 224 children.push(resultsPanel()); 225 - } else if (!ctx.session) { 226 - children.push(signInBar(ctx, t(ctx.lang).signInPrompt)); 225 + } else { 226 + if (!ctx.session) { 227 + children.push(signInBar(ctx, t(ctx.lang).signInPrompt)); 228 + } 229 + // Hide the on-screen keyboard once the game is over — there's nothing left to type. 230 + children.push( 231 + renderKeyboard(state, ctx.lang, { onLetter: typeLetter, onEnter: submit, onBackspace: backspace }), 232 + ); 227 233 } 228 - children.push( 229 - renderKeyboard(state, ctx.lang, { onLetter: typeLetter, onEnter: submit, onBackspace: backspace }), 230 - ); 231 234 mount(main, ...children); 232 235 } 233 236