diff --git a/src/menu/menuitem.js b/src/menu/menuitem.js
index <HASH>..<HASH> 100644
--- a/src/menu/menuitem.js
+++ b/src/menu/menuitem.js
@@ -126,7 +126,7 @@ export class Dialog {
   }
 
   focus(form) {
-    let input = form.querySelector("input")
+    let input = form.querySelector("input, textarea")
     if (input) input.focus()
   }
Allow autofocus textareas in menu dialogs