Tencent / Tencent/tdesign-miniprogram

[t-search] 清除控件显示和隐藏时会使居中的值发生偏移

Open
#1,997 2 comments 0 reactions 0 assignees View on GitHub

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

重现步骤
  1. 使用 center 属性
  2. 输入值并清空值
期望结果

不再使搜索值偏移位置

实际结果

No response

基础库版本

2.29.2

补充说明

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.