Open nickeday opened 6 years ago
I think it's because the onBoundsChanged is setting the bounds and center state of the map, so after setState is called in the onBoundsChange event, the map adjusts to its new center/bounds and you lose dragging (onBoundsChange gets called very quickly after the bounds change). If you switch it out for the onIdle event, it'll be smooth, because it waits for user dragging to finish and then sets the map's center/bounds state.
In the example at https://tomchentw.github.io/react-google-maps/#searchbox, it looks like there's a problem with scrolling the map that isn't present in any of the other examples. Scrolling will stop abruptly after a short distance at each attempt.