Closed Bug 1167417 Opened 11 years ago Closed 8 years ago

Location of position: fixed elements is miscalculated due to rocketbar size

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect, P2)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: callahad, Unassigned)

References

Details

(Keywords: DevAdvocacy, Whiteboard: [systemsfe][DevRel:PX])

Attachments

(1 file)

See attached screenshot. The rocketbar pushes the viewport down off the screen, which means that items with fixed position relative to the bottom of the viewport are positioned incorrectly.
We're also getting this issue on Marketplace while trying to implemented a fixed bottom tab navigation.
TBH, I'd even be fine with an event that could be captured so we could react to it.
Tagging for systems-fe triage. I'm not 100% sure this is a bug - as any interaction with the content will collapse the rocketbar so everything will line up again. But we can discuss.
Whiteboard: [systemsfe]
(In reply to Sam Foster [:sfoster] from comment #3) > any interaction with the content will collapse the rocketbar so everything will line up again. Except scrolling up, which re-expands the rocketbar and breaks the layout again. This breaks the layout on real-world sites like TheNextWeb, which otherwise work great in Firefox and Fennec. Further, the decision is inconsistent with itself: we shift the page to ensure that expanding the rocketbar doesn't obscure the top of the document, but we don't provide the same affordance to the bottom of the document.
More succinctly: I shouldn't have to manually interact with content to unbreak a layout. Given that the same markup renders correctly in all other platforms, including our own, this looks like a bug to me. :)
STR: Open http://wubbalubbadubdub.ngokevin.com/ in 3.0 simulator or 2.5 device browser. See that the bottom navigation which has (position: fixed; bottom: 0) is cut off. When the Rocketbar is collapsed, it will look fine.
Blocking bug 1217466 so we don't lose it.
Blocks: 1217466
Priority: -- → P2
Blocks: 1223121
No longer blocks: 1217466
Whiteboard: [systemsfe] → [systemsfe][DevRel:PX]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: