I have an Apple Magic Mouse, and in Safari, when I swipe my fingers left and right on the mouse, first the page scrolls left or right if there is a horizontal scrollbar, and then if there is no scrollbar or the scrollbar is already at the edge, then Safari will go back/forward in my history.
This is particularly annoying when I am trying to scroll left / right, and accidentally scroll too far and navigate off the page.
For example, if I'm answering / editing a question on StackOverflow which has
some really long code block example which is so wide it gets a horizontal scroll bar or the text area has a scroll bar
some really long code block example which is so wide it gets a horizontal scroll bar or the text area has a scroll bar
some really long code block example which is so wide it gets a horizontal scroll bar or the text area has a scroll bar
some really long code block example which is so wide it gets a horizontal scroll bar or the text area has a scroll bar
if I quickly swipe left / right to read the code, I often accidentally leave the page I'm on.
Can I disable the "swipe to navigate" back / forward function of Safari? I only want to use swiping to scroll, not to navigate.