jd-opensource / jd-opensource/taro-ui

Input组件与AtInput组件,在holdKeyboard属性的表现上,行为不一致

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

**问题描述**
taro官方Input组件与AtInput组件,在holdKeyboard属性的表现上,AtInput是有问题的,当我设置focus为true,holdKeyboard也为true时,这时候键盘不应该收起,事实上Input组件的效果是对的,AtInput却会收起.

![image](https://user-images.githubusercontent.com/13704681/80819560-c1a99e80-8c07-11ea-99ef-3443d9edf531.png)

**期望行为**
期望taro官方Input组件与AtInput组件,在holdKeyboard属性的表现一致,当设置focus为true,holdKeyboard也为true时,这时候键盘不应该收起

**系统信息**
- Taro 版本 v2.2.2
- Taro UI v2.3.4
- 报错平台 weapp

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.