I played with this a bit more and noticed that our task manager doesn't seem to enable scrolling vertically and horizontally as the same time (unlike iOS IIRC). This means that when scrolling is activated on one axis, the other is locked until the gesture has ended. Meaning if the touch is first interpreted by Gecko as x-axis scrolling, any intent to kill an app in the same gesture will be ignored.
Is scrolling two containers at the same time possible with APZ? *W I L S O N P A G E* Front-end Developer Firefox OS (Gaia) London Office Twitter: @wilsonpage IRC: wilsonpage On Fri, Oct 16, 2015 at 9:54 AM, Etienne Segonzac <[email protected]> wrote: > > On Fri, Oct 16, 2015 at 3:32 AM, Marcus Cavanaugh <[email protected]> wrote: > >> As Sam and others mentioned, there's a lot of literature on how to best >> recognize swipes in varying directions. The true limiting restriction here >> is in the need to have native scrolling (for performance) with somewhat >> unique constraints and limitations. > > > > The angle-based approach [1] we used for the edge gestures worked > surprisingly well (after a tiny 5px threshold) and it's super easy to > implement, worth trying! > > [1] > https://github.com/mozilla-b2g/gaia/blob/20f795aaa4c98a87b8fb595a3dbaa91c340d0fc3/apps/system/js/edge_swipe_detector.js#L353-L358 > > _______________________________________________ > dev-fxos mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-fxos > >
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

