Closed Bug 1273927 Opened 8 years ago Closed 8 years ago

"Learn more" button button is not fully displayed on screen smaller than 4 inch

Categories

(Firefox for iOS :: General, defect)

All
iOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
fxios-v5.0 --- verified
fxios 5.0+ ---

People

(Reporter: SimonB, Assigned: sleroux)

References

Details

Attachments

(2 files)

Attached image Screenshot of the issue
Build afdbc70
Device IPhone SE (9.3.1)

Steps to reproduce:
1. Open a new private browsing session
2. Change device orientation to landscape

Actual results:
- The 'Learn more' button is not fully displayed

Expected:
- The button should be fully displayed.
Attachment #8757015 - Flags: ui-review?(randersen)
Attachment #8757015 - Flags: review?(bnicholson)
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Comment on attachment 8757015 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1858

Does the menu bar push the layout up from the bottom, or does it overlap it? If the former, I think a better fix for this would be to pin the Learn More link bottom to be >= the bottom of the view so it gets shifted up with the menu. If the latter, I wonder if it'd be worth changing.

WFM as a band-aid for now.
Attachment #8757015 - Flags: review?(bnicholson) → review+
> Does the menu bar push the layout up from the bottom, or does it overlap it?

The empty view was being added on top of the collection view with it's constraints setup to match the root view's top/left/right/bottom with an offset to factor in the toolbar. Ideally the bottom constraint should be pinned to the top of the toolbar instead of a constant value offset so I've updated that.

> I think a better fix for this would be to pin the Learn More link bottom to be >= the bottom of the view so it gets shifted up with the menu.

I've updated the constraints of the 'Learn More' button to be more adaptive. While in portrait, visually there is no difference to what it was before. In landscape, the learn more button will move up with the menu bar while maintaining a padding of 10px at the bottom.
Attachment #8757015 - Flags: ui-review?(randersen) → ui-review+
master 260cadc1e2b87a281831172ed9e908df1d694754
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
The 'Learn more' button is displayed correct on master 5979d61c.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: