Skip to content

Commit

Permalink
Don't throttle height updates
Browse files Browse the repository at this point in the history
  • Loading branch information
almost committed Jun 24, 2015
1 parent 9ac3897 commit e53d115
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ var HTMLWebView = React.createClass({
autoHeight: PropTypes.bool
},

componentWillMount: function () {
this.onChangeHeight = _.throttle(this.onChangeHeight, 300);
},

shouldComponentUpdate: function (nextProps, nextState) {
return !_.isEqual(nextProps, this.props) || !_.isEqual(nextState, this.state);
},
Expand Down

0 comments on commit e53d115

Please sign in to comment.