From d090447f2d8324dfab1c68f6595d34f760c9f3b3 Mon Sep 17 00:00:00 2001 From: Greg Pomerantz Date: Wed, 3 Jun 2026 22:31:49 -0400 Subject: [PATCH] Show soft keyboard on editor focus --- internal/ui/element.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ui/element.go b/internal/ui/element.go index 7a4b76f..8019b76 100644 --- a/internal/ui/element.go +++ b/internal/ui/element.go @@ -212,6 +212,7 @@ func (tf TextField) Draw(gtx layout.Context, r *Renderer) { if tf.Focused { fmt.Printf("Focused: tag = %s\n", tf.id) gtx.Execute(key.FocusCmd{Tag: tf.id}) + gtx.Execute(key.SoftKeyboardCmd{Show: true}) } r.drawWrappedText(gtx, tf.Value, tf.region, tf.WrapWidth, tf.ScrollOffset, tf.CursorPosition) }