In the gameplay-options you can check or uncheck "auto-move camera in tactical battles"
Which does not work. Every ranged attack, bows or spells, still has the camera swing.
Actually, that's not true. Every ranged attack with a moving particle effect has the camera swing. Sometimes when I cast 'Firebolt', there is no flame, simply '-x' or 'Miss' over the target. But every attack that has a moving particle effect (arrow or fire trail) will have the 'camera swing'. And sometimes the start point is off the map, not at the unit.