Hi,
Have you checked whether the same thing happens in a different browser? If it doesn’t, then it’s likely a setting in Microsoft Edge. Open edge://settings/appearance/browserBehavior/mouseGestures and make sure the mouse gesture option is turned off.
If it’s already turned off, could you share a screenshot of the gesture that appears on your screen? I might be able to tell if it’s coming from a different app.