Closed Bug 1439703 Opened 7 years ago Closed 7 years ago

Display:flex breaks position:sticky with bottom:0

Categories

(Core :: Layout, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1377072

People

(Reporter: steve, Unassigned)

Details

Attachments

(1 file)

Attached image sticky-bug.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36 Steps to reproduce: 1) Create a container with display: flex and flex-direction: column, and overflow: auto 2) Add some content so it becomes scrollable 3) Add a footer with position: sticky and bottom: 0 4) Scroll to the bottom See pen and screenshot: https://codepen.io/timeherosteve/pen/NyYJMe Actual results: The height of the footer is ignored and the footer overlaps the end of the content. Expected results: The footer should not overlap the content at the end. This works properly in Chrome and Safari.
Version: 58 Branch → 60 Branch
Component: Untriaged → DOM
Product: Firefox → Core
Component: DOM → Layout
Thanks for the bug report! I think this is basically the same as bug 1377072 (particularly bug 1377072 comment 5). Marking as a duplicate.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: