Closed Bug 1635155 Opened 4 years ago Closed 3 years ago

Checkerboarding on sticky elements

Categories

(Core :: Panning and Zooming, defect, P3)

77 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- fix-optional
firefox78 --- fix-optional

People

(Reporter: fabioturrin, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(2 files)

Attached file demo.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36 Edg/81.0.416.68

Steps to reproduce:

My user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

  1. Open attached html file
  2. Quickly drag the slider of the vertical scroll bar

Actual results:

The sticky elements disappears until you stop scrolling (checkerboarding), also the grid content disappears.

Expected results:

The scrolling should be smooth, without flickering. The fixed headers (position: 'sticky') should always be visible, even while scrolling.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

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

Thanks for the test case! I can reproduce the problem on Windows with the latest nightly build, with WebRender disabled. With WebRender enabled the behaviour is much better, there's some slight flickering but the contents seem to render pretty consistently and as far as I can tell the header is always there. With WebRender disabled it does look pretty bad.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
Attached file sticky-slow

Here's a new version that spins for a bunch of time in requestAnimationFrame. This makes the problem more obvious.

See Also: → 1585378
Depends on: 1730993
Depends on: 1730998

Confirmed I can no longer see any sticky elements' flickers either on the test case in comment 0 or the test case in comment 5 on the latest nightly (the build id: 20211014212856). Though I do still see checkerboarding on the scrolling content itself, it's originally there before bug 1730998.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: