diff --git a/docs/next/keyboard.html b/docs/next/keyboard.html index 084771fe938..055dd78cabe 100644 --- a/docs/next/keyboard.html +++ b/docs/next/keyboard.html @@ -11,7 +11,7 @@ import { Keyboard, TextInput } from 'react-native'; class Example extends Component { - componentWillMount () { + componentDidMount () { this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow); this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide); }