Closed Bug 1613055 Opened 4 years ago Closed 4 years ago

Using overflow:auto with flex align-items:center, wraps item text to second line

Categories

(Core :: Layout: Flexbox, defect)

73 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 764076

People

(Reporter: danhughes, Unassigned)

Details

Attachments

(1 file)

Attached file scrolltest.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Set overflow-y:auto on div within flex container that has align-items:center.

Tested on:
Firefox 72.0.2
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox Developer 73.0b12
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Actual results:

Item text, for the longest items, is wrapped on to the next line

Expected results:

It should behave the same way as overflow-y:scroll and keep the text on one line

Thanks for the report! This sounds like a version of bug 764076 -- Firefox's intrinsic sizing behavior for overflow:auto elements does not reserve space for the (optional/initially-unknown-if-present) scrollbar.

Status: UNCONFIRMED → RESOLVED
Closed: 4 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: