Can't scroll over SVG when in (packaged) app, works in browser

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
5 years ago
a year ago

People

(Reporter: BenB, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
Environment:
* Geekphone dev preview
* Firefox OS, all updates installed
* App: https://marketplace.firefox.com/downloads/file/234977/bible-history-0.8.zip
* Using SVG

Reproduction:
A1. Install the above packaged app on your phone
A2. Start the app
A3. Click on button "Jesus" at the bottom
A4. With your finger, scroll down

B1. Unpack the above app (anywhere: webserver, or local filesystem)
B2. Launch the "Firefox" browser on the phone
B3. Open app.html from the unpacked app.
B4. Repeat steps A3. and A4. above.

Actual results:
Step A4: You can scroll fine, until you are over the family tree (which is rendered in SVG using Dagre and D3). There, you can no longer scroll the page with your finger. You are stuck. However, if you manage to scroll on the left page margin, you can scroll, so the non-scrolling area is the SVG element.

Step B4: It works, you can use your finger to scroll the SVG element.

Expected results:
Scrolling *always* works, no matter what.
Not even page events should prevent that.

Code:
I've tried to remove the touch, mouse wheel and drag events from d3. But IIRC to no avail, it didn't help.

Importance:
This severely cripples the usage of this app.

Comment 1

a year ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.