Tencent / Tencent/tdesign-react

[Textarea] 不支持原生的点击事件,自身也没有点击事件,想获取selection没有办法获取

Open
#3,654 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📒 documentation usage
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

tdesign-react 版本

重现链接

No response

重现步骤

No response

期望结果

希望能继承原生的点击事件

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Textarea component and reviewing how its event props are exposed. Reproduce the reported selection and click use case, then compare it with native textarea event behavior. Done means consumers can receive the click event and obtain the selection without breaking existing Textarea behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.