Ant-design-mobile: TextareaItem里设置clear属性为true后点击清除按钮 内容并没有被清除

Created on 6 Mar 2018  ·  9Comments  ·  Source: ant-design/ant-design-mobile

Version

2.1.6

Environment

macOS 10.13.3 Chrome 64.0.3282.186

Reproduction link

https://mobile.ant.design/components/textarea-item-cn/

Steps to reproduce

在clear属性为true的TextareaItem里输入文字后 点击清除按钮

What is expected?

TextareaItem里的文字被清除

What is actually happening?

文字并没有被清除
http://o8qqvasyd.bkt.clouddn.com/ezgif.com-video-to-gif.gif

bug

Most helpful comment

2018-03-22 11 39 39

All 9 comments

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: https://github.com/ant-design/ant-design/issues/4897

@warmhug 有空帮看下呗

测试正常,无法复现

@paranoidjk 就他发的那个复现链接里面的示例就是清除不掉的,代码里面也是有错误的

不要在 PC 上测试,用真机,有些组件依赖 TouchEvent.

@paranoidjk
那我再补充一个真机上的gif吧
Version
2.1.6

Environment
Andriod 8.0.0
MIUI版本 MIUI9 8.3.8
浏览器 Chrome 64.0.3282.137

gif图看不了点这里
gif图

IOS 无法复现。 @zhang740 @warmhug Android 机测试一下。

2018-03-22 11 39 39

So, is there any plan to fix this issue?

Was this page helpful?
0 / 5 - 0 ratings