Blender 2.8 - Panning in the viewport
I don't know why it's not set up by default but you can change the "pan view direction" in: Preferences > Input > Keymap > 3d view > 3d view global and it will work