dramaling-vocab-learning/frontend
鄭沛軒 75f81f3e2e fix: 修復搜尋框失去焦點問題並優化搜尋體驗
- 分離輸入顯示狀態(searchInput)和查詢狀態(debouncedSearchTerm)
- 新增 isSearching 狀態區分初始載入和搜尋載入,避免搜尋時觸發 loading 狀態
- 使用 useRef 追蹤輸入框 DOM 元素並實現智能焦點恢復機制
- 修復每次輸入後輸入框失去焦點需要重新點擊的 UX 問題
- 保持游標位置在正確的輸入位置,確保連續輸入體驗

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 15:13:38 +08:00
..
app fix: 修復搜尋框失去焦點問題並優化搜尋體驗 2025-09-24 15:13:38 +08:00
components feat: 完善通知系統堆疊效果並添加分頁 emoji 2025-09-24 14:34:01 +08:00
contexts feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
hooks feat: 實現完整語音功能系統與學習模式整合 2025-09-19 13:33:17 +08:00
lib feat: 完成詞卡管理功能前後端完整整合 2025-09-24 04:21:06 +08:00
public feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
next.config.mjs feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
package-lock.json feat: 實現完整語音功能系統與學習模式整合 2025-09-19 13:33:17 +08:00
package.json feat: 實現完整語音功能系統與學習模式整合 2025-09-19 13:33:17 +08:00
postcss.config.js feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
tailwind.config.ts feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
tsconfig.json feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00