mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-03-27 01:34:17 +08:00
committed by
Nicolas Gallagher
parent
2117e44e9d
commit
067e3f346f
@@ -40,7 +40,7 @@ class KeyboardAvoidingView extends Component<*> {
|
||||
|
||||
onKeyboardChange(event: Object) {}
|
||||
|
||||
onLayout(event: ViewLayoutEvent) {
|
||||
onLayout = (event: ViewLayoutEvent) => {
|
||||
this.frame = event.nativeEvent.layout;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user