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

fix(textarea-item) #2506

Merged
merged 1 commit into from May 4, 2018
Merged

fix(textarea-item) #2506

merged 1 commit into from May 4, 2018

Conversation

KgTong
Copy link
Contributor

@KgTong KgTong commented May 3, 2018

This change is Reviewable

@ghost ghost assigned KgTong May 3, 2018
@ghost ghost added the In Progress label May 3, 2018
@KgTong
Copy link
Contributor Author

KgTong commented May 3, 2018

cc @warmhug

@warmhug warmhug requested a review from paranoidjk May 3, 2018 07:55
@codecov
Copy link

codecov bot commented May 3, 2018

Codecov Report

Merging #2506 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2506      +/-   ##
=========================================
+ Coverage   58.38%   58.4%   +0.01%     
=========================================
  Files         262     262              
  Lines        4566    4565       -1     
  Branches     1289    1289              
=========================================
  Hits         2666    2666              
+ Misses       1895    1894       -1     
  Partials        5       5
Flag Coverage Δ
#rn 60.29% <ø> (ø) ⬆️
#web 56.75% <ø> (+0.02%) ⬆️
Impacted Files Coverage Δ
components/textarea-item/index.tsx 45.74% <ø> (+0.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cffe2f9...380094b. Read the comment docs.

@KgTong KgTong changed the title fix(textarea-item) close https://github.com/ant-design/ant-design-mob… fix(textarea-item) close #2372 May 3, 2018
@KgTong KgTong changed the title fix(textarea-item) close #2372 fix(textarea-item) May 3, 2018
@@ -246,7 +243,6 @@ export default class TextareaItem extends React.Component<
<div
className={`${prefixCls}-clear`}
onClick={this.clearInput}
onTouchStart={this.clearInput}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看起来没问题,找个 android/ios 分别测试一下吧。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

测过了。在现在m-feedback master代码下,即使加了onTouchStart也不会执行https://github.com/react-component/m-feedback/blob/master/src/TouchFeedback.tsx#L99

@warmhug warmhug merged commit 34851c7 into master May 4, 2018
@warmhug warmhug deleted the fix/textarea-item branch May 4, 2018 03:27
BANG88 added a commit to BANG88/ant-design-mobile that referenced this pull request 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants