d3 / d3-drag

Drag and drop SVG, HTML or Canvas using mouse or touch input.

Home Page:https://d3js.org/d3-drag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working well with safari

JesseAldridge opened this issue · comments

It's difficult to grab the slider in this demo in Safari: https://bl.ocks.org/mbostock/6452972
Works fine in Chrome.

Safai Version 9.1.2
OSX Version 10.11.6

Yeah, it appears that Safari doesn’t implement pointer-events: stroke correctly when stroke: none. I changed that example to use stroke: transparent instead (which will probably break older browsers that don’t support RGBA stroke… but… okay).