layout.css.overscroll-behavior.enabled doesn't work
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
People
(Reporter: hguelque, Unassigned)
Details
Attachments
(1 file)
3.21 MB,
video/x-matroska
|
Details |
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.
Comment 1•2 years ago
|
||
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.
Comment 2•2 years ago
•
|
||
(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
.
Sorry, I wrote the wrong one. I meant apz.overscroll.enabled
. It is set to false, put there is still overscroll.
Comment 4•2 years ago
|
||
(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?
(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.
Comment 7•2 years ago
|
||
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)
Comment 8•2 years ago
|
||
(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.)
Comment 9•2 years ago
|
||
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.
Reporter | ||
Comment 10•2 years ago
|
||
(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.
Reporter | ||
Comment 11•2 years ago
|
||
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
Description
•