Skip to content

Conversation

Runc2333
Copy link

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

透传 autofocus 属性到 textarea 元素上。iOS Safari在onMounted中调用focus()方法无效。

📝 更新日志

  • fix(textarea): passthrough autofocus prop directly to the element

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@Runc2333 Runc2333 force-pushed the fix/textarea-autofocus branch from 2e11c04 to 8e7e14e Compare June 12, 2025 19:07
Copy link

pkg-pr-new bot commented Jun 13, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tdesign-mobile-vue@1874

commit: 8e7e14e

Copy link
Contributor

完成

@anlyyao
Copy link
Collaborator

anlyyao commented Jun 13, 2025

iOS 不支持 autofocus

@anlyyao anlyyao added the need confirm need confirm label Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

need confirm need confirm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants