Skip to content

Commit cf0a86a

Browse files
committed
Focus input element in Mistral chatbot
- in `apps/browser/src/content-scripts/send-prompt-content-script/chatbots/mistral.ts` focus on input after entering the message [Pasted text] └── apps └── browser └── src └── content-scripts └── send-prompt-content-script └── chatbots ├── ai-studio.ts ├── arena.ts ├── chatgpt.ts ├── claude.ts ├── copilot.ts ├── deepseek.ts ├── doubao.ts ├── gemini.ts ├── github-copilot.ts ├── grok.ts ├── hugging-chat.ts ├── index.ts ├── kimi.ts ├── meta.ts ├── mistral.ts ├── open-webui.ts ├── openrouter.ts ├── qwen.ts ├── together.ts ├── yuanbao.ts └── z-ai.ts
1 parent ab27e56 commit cf0a86a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • apps/browser/src/content-scripts/send-prompt-content-script/chatbots

‎apps/browser/src/content-scripts/send-prompt-content-script/chatbots/mistral.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const mistral: Chatbot = {
108108

109109
input_element.textContent = params.message
110110
input_element.dispatchEvent(new Event('input', { bubbles: true }))
111+
input_element.focus()
111112
await new Promise((r) => requestAnimationFrame(r))
112113
},
113114
setup_observer: (params) => {

0 commit comments

Comments
 (0)