Closed Bug 1029016 Opened 11 years ago Closed 11 years ago

[Collection app] Can't interact with pinned apps when loading web results

Categories

(Firefox OS Graveyard :: Gaia::Everything.me, defect)

x86
macOS
defect
Not set
normal

Tracking

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

VERIFIED FIXED
2.0 S5 (4july)
Tracking Status
b2g-v2.0 --- verified
b2g-v2.1 --- verified

People

(Reporter: ranbena, Assigned: ranbena)

References

Details

Attachments

(2 files)

More accurate: Can't click, long press pinned apps as long as progress indicator active or connection message appears. STR: 1. Open Collection that has pinned apps. 2. While progress indicator appears click a pinned app. Expected: App opens. Actual: App does not.
The cause: The section[role="notification"] element (progress indicator and connection message elements) covers <gaia-grid>. That's because it's a flexbox that has the same z-index as <gaia-grid>. Quick solution: set <gaia-grid>'s z-index to 2. Boom. Bug fixed. BUT the preferred solution is to enable the element to start from the bottom of <gaia-grid>. The problem is that <gaia-grid> has no physical height because it's content is absolutely positioned. It's possible to set <gaia-grid>'s height in js using grid.scrollHeight (but that's error prone imo). Kevin, wdyt?
Blocks: 1015336
Flags: needinfo?(kgrandon)
TBH I'm probably ok with the quick z-index hack for 2.0 Longer term, having some kind of gaia grid semantics for a "loading" state, or being able to append a progress indicator to the grid might be ideal. Blocking bug 1017954 until deemed a blocker, but if we fix it we'll request approval to uplift.
Blocks: vertical-home-next
No longer blocks: 1015336
Flags: needinfo?(kgrandon)
Attached file PR
z-index:2 solution
Attachment #8444566 - Flags: review?(kgrandon)
Comment on attachment 8444566 [details] [review] PR Seems to work fine for me, thanks!
Attachment #8444566 - Flags: review?(kgrandon) → review+
Blocks: vertical-homescreen
No longer blocks: vertical-home-next
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment on attachment 8444566 [details] [review] PR This is needed for the vertical homescreen.
Attachment #8444566 - Flags: approval-gaia-v2.0?(bbajaj)
Attachment #8444566 - Flags: approval-gaia-v2.0?(bbajaj) → approval-gaia-v2.0+
Assignee: nobody → ran
Target Milestone: --- → 2.0 S5 (4july)
Attached video VIDEO0108_Compress.MP4
This issue has been successfully verified on Flame 2.0: Gaia-Rev 8d1e868864c8a8f1e037685f0656d1da70d08c06 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/c756bd8bf3c3 Build-ID 20141202000201 Version 32.0 Device-Name flame FW-Release 4.4.2 This issue has been successfully verified on Flame 2.1: Gaia-Rev ccb49abe412c978a4045f0c75abff534372716c4 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/18fb67530b22 Build-ID 20141202001201 Version 34.0 Device-Name flame FW-Release 4.4.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: