Closed Bug 943282 Opened 11 years ago Closed 6 years ago

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

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: BenB, Unassigned)

References

()

Details

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.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.