Closed Bug 808572 Opened 12 years ago Closed 11 years ago

Pressly doesn't support Firefox on Tablets

Categories

(Web Compatibility :: Site Reports, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: joe, Unassigned)

References

()

Details

(Whiteboard: [country-all])

Pressly is a toolkit that news sites uses to create pretty compelling tablet-friendly websites, but right now they don't support Firefox on tablets. I don't know whether simply noticing our UA would be enough, or if they require WebKit-specific extensions.
Component: Evangelism → Mobile
OS: Mac OS X → All
Product: Firefox for Android → Tech Evangelism
Hardware: x86 → All
I have a little time to look into this today. It currently works in Firefox on desktop but last time I checked on Firefox mobile touch support had broken.
I am Pleased that Corban works for Nulayer. :)
:) Ended up being a problem with a transitionend event not firing after the loading screen fade out. Loading screen fades out and then is suppose to removes itself from DOM on transitionend. Never happened so it was swallowing up all touch events.

Have a few little Firefox related issues to work out like handle orientation change, and some issues with CSS multi-columns, but should have a new build on staging for you to check out some time tomorrow.
Pressly uses the orientationchange event to re flow article text across columns and pages.

Because Firefox does not currently support the orientationchange event Joe Drew pointed me towards a solution using media query listeners. I thought I would persist the solution here:

      // Firefox does not support the orientationchange event but we can acheive the
      // same result with a matchMedia event handler
      var mqOrientation = window.matchMedia("(orientation: portrait)");

      // The Listener will fire whenever this either matches or ceases to match
      mqOrientation.addListener(function() { self.handleViewportChange(); });
Corban, are these issues now resolved? I'm happy to give @pressly some Twitter praise from the @MozWebCompat account (and close this bug) if it's all fixed now :)
Flags: needinfo?(corbanbrook)
I just tried on Firefox OS Mobile and it is working well. I do not have a tablet. 

Closing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [country-all]
See Also: → 971235
Flags: needinfo?(corbanbrook)
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.