d3/d3-brush

FF android

Fil opened this issue · 2 comments

Fil commented

on ff android vertical pan is a little janky - address bar keeps moving up and down.
Same in v1 - not a regression or anything

(reported by @1wheel)

Fil commented

Maybe a case of touch-action: none or touchStart.preventDefault ; see https://observablehq.com/d/8c6133113d33b60c

Fil commented

tested on an Android phone this version seems good (fixing the issue both on Chrome and FF):

the difference is svg.on("touchstart", event => event.preventDefault())

I'm not sure if it should be added by default in d3-brush or left to the user.