d3 / d3-selection

Transform the DOM by selecting elements and joining to data.
https://d3js.org/d3-selection
ISC License
558 stars 292 forks source link

IE11: SCRIPT5007: Unable to get property 'ownerSVGElement' of undefined or null reference #274

Closed albertzang closed 3 years ago

albertzang commented 3 years ago

Got SCRIPT5007: Unable to get property 'ownerSVGElement' of undefined or null reference from https://github.com/d3/d3-selection/blob/v1.4.1/src/point.js#L2 when using d3-selection@1.4.1.

Turns out the problem is fixed in v2.0.0 by this Handle missing targets. commit.

We have limitations on upgrading to latest d3-selection. Can you fix this in a patch to v1.4.x?

mbostock commented 3 years ago

No, sorry.