jd-opensource / jd-opensource/taro-ui

小程序 ios端AtForm AtInput通过接口返回绑定值后,首次点击光标出现在最前面而不是最后

Open
#1,181 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**问题描述**

第一个问题、小程序ios端AtForm AtInput通过接口返回绑定值后,首次点击光标出现在最前面而不是最后,安卓端正常
第二个问题、AtForm AtInput快速输入12345678值会显示错乱例如出现14235687,input onChange加防抖也解决不了问题

**补充信息**

我想问下是否跟用hook有关系

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the two reported behaviors in AtForm and AtInput on the iOS mini-program target: an asynchronously bound value placing the first cursor at the beginning, and rapid input producing reordered digits. Compare with Android behavior and determine how to verify both cursor placement and input ordering are corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.