Closed Bug 1026069 Opened 7 years ago Closed 7 years ago

[RB Search] Remove horizontal scroll bar from suggestions


(Firefox OS Graveyard :: Gaia::Search, defect)

Gonk (Firefox OS)
Not set


(b2g-v2.0 verified, b2g-v2.1 verified)

2.0 S4 (20june)
Tracking Status
b2g-v2.0 --- verified
b2g-v2.1 --- verified


(Reporter: epang, Assigned: daleharvey)



(Whiteboard: visual design, systemsfe)


(3 files)

Attached image scroll-bar.png
If possible the scroll bar should be invisible when scrolling through suggestions.
Hey Dale, is this something you can help out with?  Don't know if it's something that will be simple to change.  Let me know, thanks!
Flags: needinfo?(dale)
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
Can take a look, are we just hiding the scrollbar, the user will still be able to scroll the results but no feedback shown?
Assignee: nobody → dale
Flags: needinfo?(dale)
So this isnt currently possible with current css overflow options, webkit has the ability to seperately style scrollbars which we specifically dont support. Implementing the other workarounds that fake scrollabale areas we definitely shouldnt support.

kats, is there any way I am missing to hide scrollbars but still allow scrolling

More likely Eric, if we cant do this, what should we do? ellipsis for the overflowing text seems reasonably
Flags: needinfo?(epang)
Flags: needinfo?(bugmail.mozilla)
The contacts app hides the scrollbar by making the scrollable pane a little wider and clipping it. See for example - that might be an option here.
Flags: needinfo?(bugmail.mozilla)
Heh that was what I was trying to avoid, if we are doing that in gaia we may as well support scrolbar styling, but we can do it, to be honest I think applying text-overflow styling is preferable or only showing the number of results we can display, having that area scroll seems confusing, will wait for eric to weigh in.
Hey Dale, thanks for bringing up the issue of not having any feedback for the user.  Can we add a fade on the right side and remove the scroll bar?

On the 10px from the right edge it should go from 0% to 100% opacity.  I've updated the spec to include this.

Let me know what you think and if all good flag me for review :)

Thanks Dale!
Flags: needinfo?(epang) → needinfo?(dale)
No longer blocks: vertical-home-next
The fade isnt possible to do, since the background is user selectable, I can do the hiding the scrollbar but sans fade
Flags: needinfo?(dale) → needinfo?(epang)
Talked with eric offline, original hiding scrollbar is fine, UX are gonna work on a new spec for this for 2.1

This is blocking- but figured can fix on master and can look at uplift depending on how risky it gets with blockers
Attachment #8442941 - Flags: review?(kgrandon)
Comment on attachment 8442941 [details] [review]

I tried it and it seems fine to me. Should we do a ui-review pass on it?
Attachment #8442941 - Flags: review?(kgrandon) → review+
I did a check with eric offline ( there will be a follow up but hes gonna open a new bug for it, and definitely post 2.0
green run @

pushed in:
Closed: 7 years ago
Flags: needinfo?(epang)
Resolution: --- → FIXED
Comment on attachment 8442941 [details] [review]

This is very small visual polish that is needed for the vertical homescreen.
Attachment #8442941 - Flags: approval-gaia-v2.0?(bbajaj)
Attachment #8442941 - Flags: approval-gaia-v2.0?(bbajaj) → approval-gaia-v2.0+
Whiteboard: visual design → visual design, systemsfe
Attached video VIDEO0096_Compress.MP4
This issue has been successfully verified on Flame 2.0:
Gaia-Rev        8d1e868864c8a8f1e037685f0656d1da70d08c06
Build-ID        20141201000201
Version         32.0
Device-Name     flame
FW-Release      4.4.2

This issue has been successfully verified on Flame 2.1:
Gaia-Rev        ccb49abe412c978a4045f0c75abff534372716c4
Build-ID        20141201001201
Version         34.0
Device-Name     flame
FW-Release      4.4.2
You need to log in before you can comment on or make changes to this bug.