╭ changed ────────╮ │src/main_wasm.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 94 // so the browser handles typing and Enter-to-submit natively. without this │ │ 95 // the submit button never gets focus and Enter falls through to the wasm. │ │ 96 switch (child.focus.kind) { │ │ 97 - .text_input, .text_input_password => _focusInput(@intCast(gid)), │ │ 97 + .text_input, .text_input_password, .text_area => _focusInput(@intCast(gid)), │ │ 98 .custom => |custom| if (std.mem.eql(u8, custom, "submit")) _focusInput(@intCast(gid)),│ │ 99 else => {}, │ │100 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────╮ │232 const root_focus = root_ptr.getFocus(); │ │233 const child = root_focus.children.get(focus_id) orelse return error.UnknownFocusId;│ │234 switch (child.focus.kind) { │ │235 - .text_input, .text_input_password => {}, │ │235 + .text_input, .text_input_password, .text_area => {}, │ │236 else => return error.NotATextInput, │ │237 } │ │238 const ti = session.text_inputs.get(focus_id) orelse return error.UnknownFocusId; │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯