Skip to content

fix(ui): 使用 autoFocus 避免 .focus() 对动态生成的 input 呼叫失败#1019

Merged
CodFrm merged 1 commit intoscriptscat:mainfrom
cyfung1031:pr-fix-search-input-focus2
Nov 24, 2025
Merged

fix(ui): 使用 autoFocus 避免 .focus() 对动态生成的 input 呼叫失败#1019
CodFrm merged 1 commit intoscriptscat:mainfrom
cyfung1031:pr-fix-search-input-focus2

Conversation

@cyfung1031
Copy link
Copy Markdown
Collaborator

概述 Descriptions

变更内容 Changes

1) autoFocus
2)defaultValue (React 不是 Vue 的 two-way binding 问题不重复说明)

截图 Screenshots

@cyfung1031 cyfung1031 force-pushed the pr-fix-search-input-focus2 branch from f214ede to 2f39a5d Compare November 24, 2025 02:08
@CodFrm CodFrm merged commit 13be280 into scriptscat:main Nov 24, 2025
2 of 3 checks passed
@cyfung1031 cyfung1031 deleted the pr-fix-search-input-focus2 branch December 21, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants