I too have the same issue playing on a Mac under 10.15.7 at 2560x1440. As well, once I use WASD, edge panning works.
I found that edge panning works whether or not I have "Lock Mouse to Window" enabled. I can't remember what that's supposed to do. It's been quite a while since I finished Divinity Original Sin 2. Can anyone enlighten me please?