Skip to content

Commit

Permalink
fix(textarea-item) close #2372
Browse files Browse the repository at this point in the history
  • Loading branch information
KgTong committed May 3, 2018
1 parent cffe2f9 commit 380094b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/textarea-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ export default class TextareaItem extends React.Component<
});
}
}, 100);
this.setState({
focus: false,
});
const value = e.currentTarget.value;
if (this.props.onBlur) {
this.props.onBlur(value);
Expand Down Expand Up @@ -246,7 +243,6 @@ export default class TextareaItem extends React.Component<
<div
className={`${prefixCls}-clear`}
onClick={this.clearInput}
onTouchStart={this.clearInput}
/>
</TouchFeedback>
)}
Expand Down

0 comments on commit 380094b

Please sign in to comment.