Tencent / Tencent/tdesign-miniprogram
[t-dialog] 触摸穿透
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
tdesign-miniprogram 版本
1.5.1
重现链接
无
重现步骤
dialog悬浮在输入框上方,如果连续点击,会概率性出现点击到输入框,导致输入框聚焦,显示在dialog弹窗里面,双击弹窗空白地方,还能弹出输入框的拷贝功能
https://github.com/user-attachments/assets/a7a3e9df-8a66-4c1f-b6c8-2a1ab416e91f
期望结果
无论弹窗空白处怎么点击,不能穿透到底层组件
实际结果
dialog悬浮在输入框上方,如果连续点击,会概率性出现点击到输入框,导致输入框聚焦,显示在dialog弹窗里面,双击弹窗空白地方,还能弹出输入框的拷贝功能
基础库版本
No response
补充说明
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the t-dialog component and reproduce the touch-through behavior described for version 1.5.1, using the attached recording as the reference. Verify that repeated taps or double-taps on the dialog’s blank area cannot focus the underlying input or expose its copy menu; no source file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100