Bug 1713403 Comment 10 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Markus Stange [:mstange] from comment #4)
> "Having this behaviour during overscrolling only" sounds complicated and messy. I think Dan's patch is the right way to go: Just do dominant-axis scrolling everywhere all the time. It's what all the other browsers do on macOS, and it is desirable anyway.

In any case, you've convinced me that trying to do dominant axis scrolling during overscroll only would be too much complexity to be worth it. I'm revising the bug title accordingly.

My suggestion for the way forward here is:

 * Try to implement dominant scrolling by just adjusting the values of the mentioned prefs (the adjustments can be made in the [file defining the prefs](https://searchfox.org/mozilla-central/rev/6d3bc9da27904dbf6f6defda81019916235b8dd5/modules/libpref/init/StaticPrefList.yaml#342-372). The changes can be limited to Mac, and for now, probably Nightly only.
 * To the extent that the resulting behaviour falls short of what we'd like (e.g. overscroll not respecting axis locking), let's fix that. Quite possibly the fixes would be appropriate for all platforms / axis lock modes, but we can discuss that on a case by case basis (and if necessary add new prefs or even a new axis lock mode).
(In reply to Markus Stange [:mstange] from comment #4)
> "Having this behaviour during overscrolling only" sounds complicated and messy. I think Dan's patch is the right way to go: Just do dominant-axis scrolling everywhere all the time. It's what all the other browsers do on macOS, and it is desirable anyway.

In any case, you've convinced me that trying to do dominant axis scrolling during overscroll only would be too much complexity to be worth it. I'm revising the bug title accordingly.

My suggestion for the way forward here is:

 * Try to implement dominant scrolling by just adjusting the values of the mentioned prefs (the adjustments can be made in the [file defining the prefs](https://searchfox.org/mozilla-central/rev/6d3bc9da27904dbf6f6defda81019916235b8dd5/modules/libpref/init/StaticPrefList.yaml#342-372)). The changes can be limited to Mac, and for now, probably Nightly only.
 * To the extent that the resulting behaviour falls short of what we'd like (e.g. overscroll not respecting axis locking), let's fix that. Quite possibly the fixes would be appropriate for all platforms / axis lock modes, but we can discuss that on a case by case basis (and if necessary add new prefs or even a new axis lock mode).

Back to Bug 1713403 Comment 10