Closed Bug 1489329 Opened 6 years ago Closed 5 years ago

flexbox / grid overlays can be scrolled offscreen independently from their content, e.g. for fixed-position grid/flex container that remains onscreen

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1521067

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(1 file)

Attached file test.html
STR:
 1. View attached testcase.
 2. Activate grid inspector or flex overlay
   (click the badge next to the element in the Inspector view)
 3. Scroll the page.

ACTUAL RESULTS:
The overlays scroll offscreen, even though the grid & flex containers remain onscreen (since they're fixed-position).

EXPECTED RESULTS:
The overlays should remain over the elements that they're trying to overlay.


Note: I ran into this in the wild when trying to use the flexbox inspector on the toolbar at the very top of https://new.reddit.com (with "Search Reddit", "Log In", etc.)  If you activate the overlay for any of the flex containers inside that overlay, the overlay will be scrolled offscreen when you start to scroll the page.  (Or, kinda-worse: if you've already scrolled down a bit and *then* you try to activate the overlay on that toolbar, then you simply never see it at all, because it appears somewhere off the top of your screen.)
Summary: flexbox / grid overlays can be scrolled offscreen, for fixed-position grid/flex container that remains onscreen → flexbox / grid overlays can be scrolled offscreen independently from their content, e.g. for fixed-position grid/flex container that remains onscreen
Blocks: dt-flexbox
No longer blocks: 1471764
Priority: -- → P3

FWIW I just ran into this in the wild when inspecting the (fixed-position) header at https://www.nytimes.com/subscription/ .

(Especially broken-feeling: if you scroll down first, and then activate the overlay by e.g. clicking on the flex badge in Inspector, then you never see the overlay and it just feels broken.)

Looks like we also recently filed bug 1521026 and bug 1521067 to cover this. (for flex & grid overlays, respectively)

I'll dupe this to the latter (the one that's still open).

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
No longer blocks: dt-grid, dt-flexbox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: