Closed Bug 748685 Opened 12 years ago Closed 12 years ago

Scroll should not be displayed since all the categories fit in the window

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cboldan.mozbugs, Assigned: cvan)

References

Details

Attachments

(1 file)

Steps to reproduce:
1. Load Marketplace homepage https://marketplace-dev.allizom.org/en-US/
2. Observe the App Categories section

Expected results:
All categories are listed and there is no scroll arrow.

Actual results:
Scroll arrow is displayed and when is pressed, categories move to the left side and hide most of the categories. Scroll arrows should appear only when all the categories don't fit in the window.

Notes/Issues:
Verified in FF11 (Win 7).
Screencast for this issue http://screencast.com/t/ieMnugc5p
This is funny behaviour because the "pages" of the slider are determined by whatever fits into the centre column (http://i.imgur.com/I7dwT.jpg). In the case of this screenshot, there are 6.5 categories visible for the first page, so the second page shows categories 6 and 7.

When you resize your window, the centre column becomes full width and it makes more sense that this is the behaviour we expect.

A possible solution is to do some math to check that the entire width of the category is visible on the screen before exposing the arrows.
https://github.com/mozilla/zamboni/commit/05012c0
Assignee: nobody → cvan
Status: NEW → RESOLVED
Closed: 12 years ago
OS: Windows 7 → All
Hardware: x86_64 → All
Resolution: --- → FIXED
Target Milestone: --- → 6.5.2
Verified as fixed in https://marketplace-dev.allizom.org/en-US/apps/ on FF15 Nightly (Win 7)
Attaching postfix screenshot.
Closing bug.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: