Skip to content

Instantly share code, notes, and snippets.

@carriesmi
Created November 16, 2020 10:28
Show Gist options
  • Select an option

  • Save carriesmi/e82b5f0fee0bb7b592a520d83b1d59e5 to your computer and use it in GitHub Desktop.

Select an option

Save carriesmi/e82b5f0fee0bb7b592a520d83b1d59e5 to your computer and use it in GitHub Desktop.
# full credits to the original post
# taken from https://www.reddit.com/r/firefox/comments/7ei43x/any_way_to_make_the_smooth_scrolling_act_the_same/dq5afi0/
MS Edge smooth scrolling
general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS;250
general.smoothScroll.msdPhysics.enabled;true
general.smoothScroll.msdPhysics.motionBeginSpringConstant;450
general.smoothScroll.msdPhysics.regularSpringConstant;450
general.smoothScroll.msdPhysics.slowdownMinDeltaMS;50
general.smoothScroll.msdPhysics.slowdownMinDeltaRatio;0.4
general.smoothScroll.msdPhysics.slowdownSpringConstant;5000
mousewheel.min_line_scroll_amount;22
toolkit.scrollbox.verticalScrollDistance;5
toolkit.scrollbox.horizontalScrollDistance;4
MS Edge smooth scrolling (not using msdPhysics)
general.smoothScroll.currentVelocityWeighting;0.05
general.smoothScroll.lines.durationMaxMS;100
general.smoothScroll.lines.durationMinMS;450
general.smoothScroll.mouseWheel.durationMaxMS;200
general.smoothScroll.mouseWheel.durationMinMS;250
general.smoothScroll.other.durationMaxMS;400
general.smoothScroll.other.durationMinMS;400
general.smoothScroll.pages.durationMaxMS;300
general.smoothScroll.pages.durationMinMS;300
general.smoothScroll.scrollbars.durationMaxMS;200
general.smoothScroll.scrollbars.durationMinMS;450
mousewheel.min_line_scroll_amount;22
toolkit.scrollbox.verticalScrollDistance;5
toolkit.scrollbox.horizontalScrollDistance;4
Chrome smooth scrolling
general.smoothScroll.lines.durationMaxMS;125
general.smoothScroll.lines.durationMinMS;125
general.smoothScroll.mouseWheel.durationMaxMS;200
general.smoothScroll.mouseWheel.durationMinMS;100
general.smoothScroll.other.durationMaxMS;125
general.smoothScroll.other.durationMinMS;125
general.smoothScroll.pages.durationMaxMS;125
general.smoothScroll.pages.durationMinMS;125
mousewheel.system_scroll_override_on_root_content.horizontal.factor;175
mousewheel.system_scroll_override_on_root_content.vertical.factor;175
toolkit.scrollbox.horizontalScrollDistance;6
toolkit.scrollbox.verticalScrollDistance;2
@dhananjayraut
Copy link
Copy Markdown

dhananjayraut commented May 3, 2021

general.smoothScroll.msdPhysics.enabled;true 
mousewheel.acceleration.start;3
mousewheel.acceleration.factor;5 
mousewheel.min_line_scroll_amount;22 
general.smoothScroll.mouseWheel.migrationPercent;0 
  • needed for smooth scroll
  • needed for acceleration
  • default is too big
  • optional
  • optional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment