[PR #941] [MERGED] fix: added focus selector #7334

Closed
opened 2025-11-11 17:23:44 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/941
Author: @jannikstdl
Created: 2/27/2024
Status: Merged
Merged: 2/28/2024
Merged by: @tjbck

Base: devHead: autofocus-chat


📝 Commits (3)

📊 Changes

4 files changed (+16 additions, -8 deletions)

View changed files

📝 src/lib/components/chat/MessageInput.svelte (+3 -0)
📝 src/lib/components/layout/Sidebar.svelte (+7 -8)
📝 src/routes/(app)/+page.svelte (+3 -0)
📝 src/routes/(app)/c/[id]/+page.svelte (+3 -0)

📄 Description

adresses #936

This currently only focuses the input when switching between chats and reloading the root page.
When i start a chat and then klick on "New Chat" in the Sidebar is somehow doesn't focus the input. @tjbck any ideas on this?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/941 **Author:** [@jannikstdl](https://github.com/jannikstdl) **Created:** 2/27/2024 **Status:** ✅ Merged **Merged:** 2/28/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `autofocus-chat` --- ### 📝 Commits (3) - [`7c7e16c`](https://github.com/open-webui/open-webui/commit/7c7e16c382941cb3571a5b682cef0d0c217c3c68) added focus selector - [`1d4d1dd`](https://github.com/open-webui/open-webui/commit/1d4d1ddbea8338a289efba8ea45898c401b580a4) revert - [`260a8b8`](https://github.com/open-webui/open-webui/commit/260a8b8b83705ba3f3133a787dcd0dc6b82e1352) feat: chat input focus on new chat ### 📊 Changes **4 files changed** (+16 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/MessageInput.svelte` (+3 -0) 📝 `src/lib/components/layout/Sidebar.svelte` (+7 -8) 📝 `src/routes/(app)/+page.svelte` (+3 -0) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+3 -0) </details> ### 📄 Description adresses #936 This currently only focuses the input when switching between chats and reloading the root page. When i start a chat and then klick on "New Chat" in the Sidebar is somehow doesn't focus the input. @tjbck any ideas on this? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:23:45 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#7334