[fix] ScrollResponder componentWillMount -> UNSAFE_componentWillMount

This commit is contained in:
Nicolas Gallagher
2019-11-12 15:36:10 -08:00
parent 297cda7901
commit e4ed0fd3c8
@@ -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);