mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-05 11:19:34 +00:00
[fix] ScrollResponder componentWillMount -> UNSAFE_componentWillMount
This commit is contained in:
@@ -491,7 +491,7 @@ const ScrollResponderMixin = {
|
|||||||
*
|
*
|
||||||
* The `keyboardWillShow` is called before input focus.
|
* The `keyboardWillShow` is called before input focus.
|
||||||
*/
|
*/
|
||||||
componentWillMount: function() {
|
UNSAFE_componentWillMount: function() {
|
||||||
this.keyboardWillOpenTo = null;
|
this.keyboardWillOpenTo = null;
|
||||||
this.additionalScrollOffset = 0;
|
this.additionalScrollOffset = 0;
|
||||||
// this.addListenerOn(RCTDeviceEventEmitter, 'keyboardWillShow', this.scrollResponderKeyboardWillShow);
|
// this.addListenerOn(RCTDeviceEventEmitter, 'keyboardWillShow', this.scrollResponderKeyboardWillShow);
|
||||||
|
|||||||
Reference in New Issue
Block a user