Tencent / Tencent/tdesign-miniprogram
[t-search] 清除控件显示和隐藏时会使居中的值发生偏移
Open
Nobody has claimed this yet.
need more info
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
tdesign-miniprogram 版本
1.1.1
重现链接
No response
重现步骤
- 使用 center 属性
- 输入值并清空值
期望结果
不再使搜索值偏移位置
实际结果
No response
基础库版本
2.29.2
补充说明
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 by reproducing the t-search behavior with the center property in the stated MiniProgram environment, entering and then clearing a value. Inspect the t-search implementation and its clear-control visibility behavior. Done means the displayed search value remains centered when the control appears or disappears.
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
- 35/100