Tencent / Tencent/tdesign-miniprogram

[t-input] 光标不移动

Open
#2,936 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

tdesign-miniprogram 版本

1.4.4

重现链接

No response

重现步骤

在skyline模式下
从wx.getStorageSync获取的内容 赋值给input
input的光标未移动到内容末尾

期望结果

input的光标未移动到内容末尾

实际结果

No response

基础库版本

3.4.8

补充说明

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 with the t-input component's cursor behavior in Skyline mode, using the reported assignment from wx.getStorageSync as the reproduction case. Confirm the expected cursor position and verify that assigning stored content leaves the cursor at the end.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.