From e53d11584cd6abd658e064dfdda638531afdde94 Mon Sep 17 00:00:00 2001 From: Thomas Parslow Date: Wed, 24 Jun 2015 15:22:06 +0100 Subject: [PATCH] Don't throttle height updates --- index.ios.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.ios.js b/index.ios.js index 9fcc8cf..5c0c6d0 100644 --- a/index.ios.js +++ b/index.ios.js @@ -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); },