Viewport Navigation - Camera sometimes jumps really far away from the model

Hi,

In the last month or so I’ve noticed that occasionally using the middle mouse button to pan the viewport causes the view to jump really far away from the model, so far that the only way to find the model again is to select it in the hierarchy and press F to focus on it again. This seems to happen on old and new projects, and happens way too often except for when I want to try and recreate it :smiley:

When it does happen, there are no errors in the console. I’ll log a bug report for this, but I’m wondering if anyone else is experiencing the same thing?

I did a bit more testing and it seems to happen when panning the viewport after rotating the viewport, but only if no object was selected when the viewport was rotated.

Bug report