Skip to content

Commit e4ed0fd

Browse files
committed
[fix] ScrollResponder componentWillMount -> UNSAFE_componentWillMount
1 parent 297cda7 commit e4ed0fd

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native-web/src/modules/ScrollResponder

1 file changed

+1
-1
lines changed

packages/react-native-web/src/modules/ScrollResponder/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ const ScrollResponderMixin = {
491491
*
492492
* The `keyboardWillShow` is called before input focus.
493493
*/
494-
componentWillMount: function() {
494+
UNSAFE_componentWillMount: function() {
495495
this.keyboardWillOpenTo = null;
496496
this.additionalScrollOffset = 0;
497497
// this.addListenerOn(RCTDeviceEventEmitter, 'keyboardWillShow', this.scrollResponderKeyboardWillShow);

0 commit comments

Comments
 (0)