Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextareaItem里设置clear属性为true后点击清除按钮 内容并没有被清除 #2372

Closed
zackteng opened this issue Mar 6, 2018 · 9 comments
Assignees
Labels

Comments

@zackteng
Copy link

zackteng commented Mar 6, 2018

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

@ant-design-bot
Copy link

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: ant-design/ant-design#4897

@zackteng
Copy link
Author

@warmhug 有空帮看下呗

@paranoidjk
Copy link
Contributor

测试正常,无法复现

@alwaysloseall
Copy link
Contributor

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

@paranoidjk
Copy link
Contributor

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

@zackteng
Copy link
Author

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

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

gif图看不了点这里
gif图

@paranoidjk paranoidjk reopened this Mar 19, 2018
@paranoidjk
Copy link
Contributor

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

@paranoidjk
Copy link
Contributor

2018-03-22 11 39 39

@modao
Copy link

modao commented Apr 3, 2018

So, is there any plan to fix this issue?

@paranoidjk paranoidjk assigned warmhug and unassigned zhang740 Apr 3, 2018
KgTong added a commit that referenced this issue May 3, 2018
KgTong added a commit that referenced this issue May 3, 2018
@warmhug warmhug closed this as completed in 34851c7 May 4, 2018
BANG88 added a commit to BANG88/ant-design-mobile that referenced this issue May 11, 2018
* master:
  fix: Modal event close ant-design#2486
  fix(input-item): user experience regression on non-mutate control (ant-design#2537)
  fix(input-item): cursor dislocation when typing via system keyboard of UC browser (ant-design#2532)
  fix(Accordion): make aria-expanded prop valid in preact, close ant-design#2491 (ant-design#2530)
  fix(input-item): value.substring is not a function (ant-design#2508)
  demo: add use of listview component nested with tabbar, close ant-design#2455 (ant-design#2527)
  docs: improve List doc, close ant-design#2514
  docs: fix typo (ant-design#2523)
  fix: style of <SearchBar/> (ant-design#2510)
  fix: development error
  fix: upgrade rmc-feedback to 2.x (ant-design#2509)
  fix(textarea-item) close ant-design#2372 (ant-design#2506)
  docs: improve Progress api doc
  Update index.zh-CN.md (ant-design#2494)
  lint: fix ts error in @types/react-native-drawer-layout
  chore: fix test error
  build: delete cdn-tools in deploy cmd
  demo: add dynamic child demo to Carousel, ref ant-design#2434
  demo: improve Carousel demo
  docs: add change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants