diff --git a/src/google_map.js b/src/google_map.js index 17da6316..3764eb60 100644 --- a/src/google_map.js +++ b/src/google_map.js @@ -302,12 +302,9 @@ class GoogleMap extends Component { } shouldComponentUpdate(nextProps, nextState) { - // draggable does not affect inner components return ( - !shallowEqual( - omit(this.props, ['draggable']), - omit(nextProps, ['draggable']) - ) || !shallowEqual(this.state, nextState) + !shallowEqual(this.props, nextProps) || + !shallowEqual(this.state, nextState) ); }