core icon indicating copy to clipboard operation
core copied to clipboard

[BUG] Textarea组件无法正常focus

Open wangxiaojuan opened this issue 1 year ago • 0 comments
trafficstars

描述你的问题(Describe the bug) import { TextArea } from '@opensumi/ide-core-browser/lib/components'; const textareaRef = useRef<HTMLTextAreaElement | null>(null); textareaRef.current?.focus(); image

复现路径(To Reproduce)

预期表现(Expected behavior)

环境信息(Environment)

  • OS: [e.g. macOS 11.2 Apple M1/Windows10/Windows11]
  • Browser: [e.g. chrome, safari, electron]
  • OpenSumi Version: [e.g. 2.13.0]

wangxiaojuan avatar Apr 25 '24 03:04 wangxiaojuan