Skip to content

feat(web): 重新编辑后自动聚焦输入框并滚动到末尾 - #39

Merged
tyanxie merged 1 commit into
mainfrom
feat/reedit-auto-focus
Aug 7, 2026
Merged

feat(web): 重新编辑后自动聚焦输入框并滚动到末尾#39
tyanxie merged 1 commit into
mainfrom
feat/reedit-auto-focus

Conversation

@tyanxie

@tyanxie tyanxie commented Aug 7, 2026

Copy link
Copy Markdown
Owner
  • Composer 通过 useImperativeHandle 暴露 focus() 命令式 API
  • useReEdit 使用 flushSync 确保 DOM 更新后再触发 focus
  • focus 时光标定位到文本末尾并滚动到底部

- Composer 通过 useImperativeHandle 暴露 focus() 命令式 API
- useReEdit 使用 flushSync 确保 DOM 更新后再触发 focus
- focus 时光标定位到文本末尾并滚动到底部
@tyanxie
tyanxie merged commit b32017d into main Aug 7, 2026
1 check passed
@tyanxie
tyanxie deleted the feat/reedit-auto-focus branch August 7, 2026 15:23
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.

1 participant