jd-opensource / jd-opensource/taro-ui

再使用 AtInput 输入框是,输入 英文字母错乱

Open
#1,655 7 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

**问题描述**

再使用 AtInput 输入框是,输入 英文字母错乱
**复现步骤**

在输入框里输入邮箱,选择九宫格英文键盘,英文会错乱

```js
// 这里可以贴代码
{handleChange(e);}}
/>
```
**期望行为**

可以正常输入,不错乱

**报错信息**

https://github.com/NervJS/taro-ui/assets/13568082/b576588b-a377-407d-a6ad-692841892bd8

![企业微信截图_16925992935778](https://github.com/NervJS/taro-ui/assets/13568082/720f812d-ece0-47a9-9bfe-75a4cb183c93)

**系统信息**

Taro CLI 3.4.5 environment info:
System:
OS: macOS 13.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 14.20.0 - ~/.nvm/versions/node/v14.20.0/bin/node
Yarn: 1.22.17 - ~/.yarn/bin/yarn
npm: 6.14.17 - ~/.nvm/versions/node/v14.20.0/bin/npm
npmPackages:
@tarojs/cli: 2.0.5 => 2.0.5
@tarojs/components: 2.0.5 => 2.0.5
@tarojs/mini-runner: 2.0.5 => 2.0.5
@tarojs/router: 2.0.5 => 2.0.5
@tarojs/taro: 2.0.5 => 2.0.5
@tarojs/webpack-runner: 2.0.5 => 2.0.5
eslint-config-taro: 2.0.5 => 2.0.5
eslint-plugin-taro: 2.0.5 => 2.0.5
nerv-devtools: 1.5.6 => 1.5.6
nervjs: 1.5.6 => 1.5.6
react: ^17.0.2 => 17.0.2
taro-ui: 2.3.0 => 2.3.0

**补充信息**

使用 import { Input } from '@tarojs/components'; 组件没有问题

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided AtInput email-entry example with the listed Taro UI 2.3.0 and Taro 2.0.5 environment, using the nine-key English keyboard. Compare it with the working @tarojs/components Input implementation. The issue is done when English input is no longer scrambled and the behavior is verified on the affected platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, mobile-dev
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.