搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

MacOS Firefox goes back/forward on horizontal scroll with mouse

  • 2 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 pawprotas

more options

Hi,

On MacOS whenever I use the horizontal scrollwheel on my mouse (MX Master 3) in Firefox, the browser sometimes decides to go to the previous/next tab instead of scrolling horizontally. It's kind of difficult to describe the exact behavior: the horizontal scrolling DOES work. but whenever I hit the 'start' or 'end' of the scrollbar and scroll a bit further, the browser goes to the previous/next tab. This behavior doesn't occur in Chrome, the horizontal scrolling works fine in that browser.

I've tried the following: Setting mousewheel.with_alt.action to 0 --> Still not working browser.gesture.swipe.left/right to 'blank' --> Nope

Further info: Firefox Developer Edition 100.0b3 on M1 Mac using MX Master 3

Hi, On MacOS whenever I use the horizontal scrollwheel on my mouse (MX Master 3) in Firefox, the browser sometimes decides to go to the previous/next tab instead of scrolling horizontally. It's kind of difficult to describe the exact behavior: the horizontal scrolling DOES work. but whenever I hit the 'start' or 'end' of the scrollbar and scroll a bit further, the browser goes to the previous/next tab. This behavior doesn't occur in Chrome, the horizontal scrolling works fine in that browser. I've tried the following: Setting mousewheel.with_alt.action to 0 --> Still not working browser.gesture.swipe.left/right to 'blank' --> Nope Further info: Firefox Developer Edition 100.0b3 on M1 Mac using MX Master 3

所有回覆 (2)

more options

Hello, try this: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named mousewheel.default.delta_multiplier_y. double-click it and change its value to -100.

In Firefox you use the Shift modifier to scroll horizontally. You can possibly swap these two prefs on the about:config page: mousewheel.with_alt.action = 2 => 4 mousewheel.with_shift.action = 4 => 2 You can use '0' to disable a specific action. You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

https://support.mozilla.org/en-US/kb/about-config-editor-firefox Mousewheel action prefs on the about:config page: mousewheel.default.action mousewheel.with_*.action mousewheel.with_alt.action = 2 mousewheel.with_control.action = 3 mousewheel.with_meta.action = 1 mousewheel.with_shift.action = 4 mousewheel.with_win.action= 1

Action: 0: Nothing happens 1: Scrolling contents 2: Go back or go forward, in your history 3: Zoom in or out (reflowing zoom) 4: Treat vertical wheel as horizontal scroll 5: Zoom in or out (pinch zoom)

more options

This didn't work, the delta config option just reversed my regular scroll direction, this option doesn't seem to be related to the problem at all.

Also, even if I put with_control, with_alt and with_shift action to 0, the page still goes back when I scroll my horizontal wheel.