Can't return to origin of complex table after scrolling around table
Categories
(Core :: Layout: Scrolling and Overflow, defect, P3)
Tracking
()
People
(Reporter: lohphat, Assigned: emilio)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Keywords: reproducible)
Attachments
(5 files)
169.66 KB,
text/plain
|
Details | |
729.44 KB,
image/png
|
Details | |
225.17 KB,
image/png
|
Details | |
4.19 MB,
video/webm
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
dmeehan
:
approval-mozilla-esr128+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Steps to reproduce:
Scroll around a complex table -- a Palo Alto Networks Firewall (PANOS) admin UI policy table.
Actual results:
If you scroll down away from row 1, then over to the right, when you scroll back to the left border you can't scroll back to origin (row 1). You must reload page to restore full table.
Expected results:
scroll vert and horiz freely around complex table.
The web UI is for PANOS a market leader firewall OEM. It should be relatively easy to find an appropriate testbed to reproduce the issue.
Simply load the POLICY tab and try to scroll around a larger rulebase.
PANOS version: 10.2.9-h1 on a PA-5250 NGFW
Comment 3•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Tables' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•4 months ago
|
||
Reporter, do you remember roughly when you started experiencing this issue? Or has it always been happening?
Image showing origin of table visible.
This image shows that the right hand vert scollbar it at top yet table is not at top row of table. page must be reloaded for table to re-appear.
(In reply to Gregory Pappas [:gregp] from comment #4)
Reporter, do you remember roughly when you started experiencing this issue? Or has it always been happening?
It's been buggy for a while. When I've compared against Chrome, it does not demonstrate the same behavior.
I've wanted to report earlier but didn't have a way to narrow it down. But I've learned to use the mozregression tool on two other bugs so I felt I could at least start the process with reasonable data from the tool output.
Comment 8•4 months ago
•
|
||
Thanks for clarifying! I think I can reproduce the issue.
Steps to reproduce:
- Navigate to https://login.paloaltonetworks.com/live/PreRegister
- Create an account
- Navigate to https://jp1.demo.paloaltonetworks.com/php/login.php
- Click "Use Single Sign-On"
- Click "Continue"
- Login
- Click "Policies"
- Scroll down a bit
- Scroll to the right
- Scroll to the left
- Try to scroll back up
Actual results:
The table glitches out and cannot be scrolled to row 1
Expected results:
Table scrolls to row 1
Reporter, does this match your experience?
Reporter | ||
Comment 10•4 months ago
|
||
That strange "jitter" when scrolling is another symptom.
Comment 11•4 months ago
|
||
I'm not able to reproduce the issue when layout.css.scroll-anchoring.enabled
is disabled in about:config
Reporter | ||
Comment 12•4 months ago
|
||
Confirmed workaround fixes it on MACOS with layout.css.scroll-anchoring.enabled
= disabled
Updated•4 months ago
|
Comment 13•4 months ago
|
||
The severity field is not set for this bug.
:emilio, could you have a look please?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 14•4 months ago
|
||
Greg, I can't repro this. After step 6 I get an SSO failure.
That said, this looks a lot like bug 1907289. Does this reproduce on the latest nightly? Maybe they are hitting the same bug.
If it does... Would it be possible to create some sort of test-case for this? The mozregression in comment 7 can't be right, since bug 1846996 was a test-only change.
Comment 15•4 months ago
|
||
Hmm, I also see SSO failure, that's strange. Try https://jp1.demo.paloaltonetworks.com/php/login.php or https://jp3.demo.paloaltonetworks.com/php/login.php, I think these ones still function.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 16•4 months ago
|
||
See link in the comment. We were checking both offsets, but blink only
checks one.
In this case, the page has a table with overflow-x: auto
and
overflow-y: hidden
. They implement a custom virtual scrolling on the
vertical axis, and scroll-anchoring interacts poorly with it.
Adapt zero-scroll-offset.html to test for this.
Updated•4 months ago
|
Assignee | ||
Comment 17•4 months ago
|
||
Ok I figured out what's going on, in particular why the "scroll to the right" bit is needed. It's a subtle different in our scroll anchoring heuristics... The page could fix it on their end by applying overflow-anchor: none
to the relevant scroller.
Assignee | ||
Updated•4 months ago
|
Comment 18•3 months ago
|
||
Comment 20•3 months ago
|
||
bugherder |
Assignee | ||
Comment 22•3 months ago
|
||
Comment on attachment 9413983 [details]
Bug 1905426 - Refine zero-scroll-offset scroll anchoring heuristic to match blink. r=#layout
Beta/Release Uplift Approval Request
- User impact if declined: This is a trivial fix that should help with scroll jumping in the wild.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 8 (but see the urls in follow-up comments)
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Trivial
- String changes made/needed: none
- Is Android affected?: Yes
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is a trivial fix that should help with scroll jumping in the wild.
- User impact if declined: Scroll jumping in some cases.
- Fix Landed on Version: 130
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): As small of a fix as it gets.
Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 23•3 months ago
|
||
Reproduced the initial issue described in comment 8 using an old Nightly build from 2024-06-27. Verified that using latest Nightly build 130.0a1 I can't reproduce this issue across platforms (Windows 11, macOS 13.6 and Ubuntu 22.04).
Comment 24•3 months ago
|
||
Comment on attachment 9413983 [details]
Bug 1905426 - Refine zero-scroll-offset scroll anchoring heuristic to match blink. r=#layout
hg graft -er 29a40a412575
Comment 25•3 months ago
|
||
uplift |
Updated•3 months ago
|
Comment 26•3 months ago
|
||
Comment on attachment 9413983 [details]
Bug 1905426 - Refine zero-scroll-offset scroll anchoring heuristic to match blink. r=#layout
Approved for 128.1esr
Comment 27•3 months ago
|
||
uplift |
Updated•3 months ago
|
Comment 28•3 months ago
|
||
(In reply to Bogdan Maris, Desktop QA from comment #23)
Reproduced the initial issue described in comment 8 using an old Nightly build from 2024-06-27. Verified that using latest Nightly build 130.0a1 I can't reproduce this issue across platforms (Windows 11, macOS 13.6 and Ubuntu 22.04).
Also verified this as fixed using Firefox 129 beta from treeherder on the same platforms. Not marking as verified since the build for esr128 is not available yet, will verify Monday when the build with the fix will be available.
Comment 29•3 months ago
|
||
(In reply to Bogdan Maris, Desktop QA from comment #28)
(In reply to Bogdan Maris, Desktop QA from comment #23)
Reproduced the initial issue described in comment 8 using an old Nightly build from 2024-06-27. Verified that using latest Nightly build 130.0a1 I can't reproduce this issue across platforms (Windows 11, macOS 13.6 and Ubuntu 22.04).
Also verified this as fixed using Firefox 129 beta from treeherder on the same platforms. Not marking as verified since the build for esr128 is not available yet, will verify Monday when the build with the fix will be available.
Also verified using latest Firefox esr128 across platforms (Windows 11, macOS 13.6 and Ubuntu 22.04).
Description
•