Skip to content

Commit

Permalink
[fix] ScrollResponder componentWillMount -> UNSAFE_componentWillMount
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Nov 12, 2019
1 parent 297cda7 commit e4ed0fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ const ScrollResponderMixin = {
*
* The `keyboardWillShow` is called before input focus.
*/
componentWillMount: function() {
UNSAFE_componentWillMount: function() {
this.keyboardWillOpenTo = null;
this.additionalScrollOffset = 0;
// this.addListenerOn(RCTDeviceEventEmitter, 'keyboardWillShow', this.scrollResponderKeyboardWillShow);
Expand Down

0 comments on commit e4ed0fd

Please sign in to comment.