Closed Bug 1813558 Opened 2 years ago Closed 2 years ago

layout.css.overscroll-behavior.enabled doesn't work

Categories

(Core :: Panning and Zooming, defect)

Firefox 109
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: hguelque, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

Set layout.css.overscroll-behavior.enabled to false. Went to any website where could scroll (Reddit, Bugzilla)

Actual results:

When scrolling up and reaching the top of the page (or scrolling down and reaching the bottom of the page), overscroll happened. This tended to break some websites (Amazon), and produced a "bobbing" effect, which wasn't very convenient.

Expected results:

No overscroll, no bobbing.

The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

(In reply to hguelque from comment #0)

Set layout.css.overscroll-behavior.enabled to false. Went to any website where could scroll (Reddit, Bugzilla)

Thanks for the report! The preference layout.css.overscroll-behavior.enabled is for the overscroll-behavior css property (See the MDN page: overscroll-behavior). From your expected results, I think you're looking to disable the overscroll feature. For that I think you want to set apz.overscroll.enabled=false.

Flags: needinfo?(hguelque)

Sorry, I wrote the wrong one. I meant apz.overscroll.enabled. It is set to false, put there is still overscroll.

Flags: needinfo?(hguelque)

(In reply to hguelque from comment #3)

Sorry, I wrote the wrong one. I meant apz.overscroll.enabled. It is set to false, put there is still overscroll.

That's odd. Would you be able to share a screencast showing the effect you're seeing?

Attached video Video of the bug.

Here's a video of the bug.

(In reply to Botond Ballo [:botond] from comment #4)

(In reply to hguelque from comment #3)

Sorry, I wrote the wrong one. I meant apz.overscroll.enabled. It is set to false, put there is still overscroll.

That's odd. Would you be able to share a screencast showing the effect you're seeing?

I just did it.

Curious. I can't reproduce this, toggling apz.overscroll.enabled successfully enables/disables overscroll for me, with the setting change taking place right away (no restart required).

A few questions to try to narrow down the issue:

  • Do you have any add-ons installed? If so, does the issue occur when running in Troubleshoot Mode (from the Help menu)?
  • Just to confirm, your Firefox version is the one shown in the description (109)?
  • Are you running in a X11 session or a Wayland session? (Type echo $XDG_SESSION_TYPE in a terminal if unsure)

(While I currently have no explanation for why you're seeing overscroll with apz.overscroll.enabled=false, I'll just add that if it is indeed APZ overscroll you're seeing, then setting apz.overscroll.damping=0 would just make it worse -- the higher the damping factor, the faster the overscroll effect goes away.)

I would say the overscroll the reporter is seeing is not by us. The header on reddit is position:fixed, since bug 1760368 (version 103) position:fixed elements should no longer move on overscrolling.

(In reply to Botond Ballo [:botond] [away until 02/17] from comment #7)

Curious. I can't reproduce this, toggling apz.overscroll.enabled successfully enables/disables overscroll for me, with the setting change taking place right away (no restart required).

A few questions to try to narrow down the issue:

  • Do you have any add-ons installed? If so, does the issue occur when running in Troubleshoot Mode (from the Help menu)?
  • Just to confirm, your Firefox version is the one shown in the description (109)?
  • Are you running in a X11 session or a Wayland session? (Type echo $XDG_SESSION_TYPE in a terminal if unsure)

Sorry for the long reply.
I do have some add-ons installed. The bug does not appear in Troubleshoot mode, so I'll check if it might be my theme or my add-ons ? Tho I do not see how the fee add-ons I have could cause that.

My Firefox version is 109.0.1, indeed

I am running a x11 session.

It appeared I had an add-on, called "Smooth Scrolling". Don't know how it got installed, but that was the source of the problem. Weird, since its description did not mention this. I'll make the author know

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: