搜尋 Mozilla 技術支援網站

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

了解更多

Instant scroll animation in firefox 70

  • 11 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 Rev. Andy

more options

It feels like I actually cannot disable smooth scroll anymore in 70 (even if its off in options and about:config) on Windows 10. I just want to scroll without any animation delay. I googled around and found a bunch of previous answers, and tried about 10 different settings in about config, but the only one that seemed to help was mousewheel.default.delta_multiplier_y, but that also makes it scroll more than a single page, which isnt OK. I dont need it to drag at the top or bottom of a scroll or be animated at all, I just want it to instantly flip to the next or a previous page.

It feels like I actually cannot disable smooth scroll anymore in 70 (even if its off in options and about:config) on Windows 10. I just want to scroll without any animation delay. I googled around and found a bunch of previous answers, and tried about 10 different settings in about config, but the only one that seemed to help was mousewheel.default.delta_multiplier_y, but that also makes it scroll more than a single page, which isnt OK. I dont need it to drag at the top or bottom of a scroll or be animated at all, I just want it to instantly flip to the next or a previous page.

所有回覆 (11)

more options

Addendum: I want it to work exactly like page up/down.

more options

How are you scrolling to get this animation?

Did you look at "Options/Preferences -> General -> Browsing"?

Auto-scroll via a middle-click works differently. There are some Boolean general.smoothScroll prefs that you can try to toggle (true/false) to see if that has effect.

more options

Yeah, it seems like some of the physics stuff should have some effect, but as far as I can tell, none of it duplicates the behavior of pageup/down/spacebar.

This is aside from the fact that all of those settings are only relevant with smoothscroll on, and I just want to disable it so there arent any physics animations delaying my workflow.

more options

CSS Scroll Snap

Scroll snapping is the act of adjusting the scroll offset of a scroll container to be at a preferred snap position once the scroll operation is finished.

A scroll container may be opted into scroll

snapping by using the scroll-snap-type property. 

This tells the browser that it should consider snapping this scroll container to the snap positions produced by its descendants. scroll-snap-type determines the axis on which scrolling occurs: x, y, or both, and the snapping strictness: mandatory, proximity. More on these later.

A snap position can be produced by declaring a desired

alignment on an element. This position is the scroll offset 

at which the nearest ancestor scroll container and the element are aligned as specified for the given axis. The following alignments are possible on each axis: start, end, center.

A start alignment means that the scroll container snapport start edge should be flushed with the element

snap area start edge. Similarly, the end and center 

alignments mean that the scroll container snapport end

edge or center should be flushed with the element snap area end edge or center.

Snapport is the area of the scroll container to which the snap areas are aligned. By default, it is the same as the visual viewport of the scroll

container, but it can be adjusted using the scroll-padding property.

<style>

  1. gallery {
 scroll-snap-type: x mandatory;
 overflow-x: scroll;
 display: flex;

}

  1. gallery img {
  scroll-snap-align: center;

} </style>

more options

Well, thanks for that detailed reply, but Im not a coder, just an end user that wants to be rid of the scroll animations.. I actually seem to remember that you possibly might have to reboot FF for Smooth scrolling to actually go off, so Im going to try that next.

more options

cor-el said

How are you scrolling to get this animation?

Mouse wheel (not click).

more options

Rebooted. No change.

more options

Select Options. In General tab, there is Browsing section. There is an option Use smooth scrolling with a checkbox. Check the box to enable or uncheck the box to disable the smooth scroll feature in Firefox.

more options

That was the first thing I did.. Actually the more I am researching, it appears to be something Windows 10 implemented in the 1903 patch. Im actually considering removing it, it is absolutely horrible janky and slow.

more options

You can try to disable hardware acceleration in Firefox.

Close and restart Firefox after modifying the setting for changes to take effect.

You can check if there is an update for your graphics display driver and check for hardware acceleration related issues.

more options

Yeah, Ive already found all those settings.

This is the bumpy animation that ends a mouse wheel scroll before the scroll stops (when you tick once on a multi-page website).

Also, I have a 2080 TI and the latest drivers, so, sadly its just a 1903 thing. Its global in every app (it turns out).

Sadly, Ive also learned that I cannot even roll back that patch, since I installed with it (not that I want to lose its security fixes). Its just some noob 'physics' animation thing that some microserf UI guy thought would 'look cool', but just slows everything down terribly.

I even tried an app that claimed to fix it, but no dice there, either.

由 Rev. Andy 於 修改