[How-To] More responsive scrolling on Android
I've recently switched from Chrome to Firefox (nightly) on Android, but was really disappointed at how stiff the scrolling felt in Firefox by comparison. Searching yields very few results, and none of them were to my liking, nor did they explain the settings they were changing in more practical terms.
Here's my settings to get the scrolling a bit more responsive and feel more like Chrome's, along with a short explanation of how I think each setting changes the behaviour. This is all just from trial and error, so I could be way off and I'm probably using the completely wrong terminology. These are just my observations.
Hopefully someone else may find this useful.
| setting name | my value | explanation |
|---|---|---|
| apz.fling_curve_function_x1 | 0 | increase for more starting friction -- the lower this is, the more instantly you'll begin scrolling |
| apz.fling_curve_function_x2 | 0.17 | increase for more ending friction (less momentum) |
| apz.fling_curve_function_y1 | 0 | fling distance -- higher numbers scroll further with one 'fling' |
| apz.fling_curve_function_y2 | 0.93 | decrease for more overall friction |
| apz.fling_curve_threshold_inches_per_ms | 0.005 | seems to act like a multiplier of sorts, increase for a slower overall scroll |
| apz.fling_min_velocity_threshold | 0.2 | higher values feel more "sticky", but allow a more precise scroll while your finger is in continuous contact with the screen |
Posted Apr 20, 2018, 9:37 AM UTC · edited
https://bugzilla.mozilla.org/show_bug.cgi?id=1448376#c4