issues
search
antvis
/
G
💥 A flexible rendering engine for visualization.
https://g.antv.antgroup.com/
1.07k
stars
198
forks
source link
[g-svg] client2Viewport 返回 NaN
#1683
Closed
xiaoiver
closed
4 months ago
xiaoiver
commented
4 months ago
1677 会尝试获取 DOM 容器的 offsetWidth/Height,但 SVGElement 上没有这个属性导致计算结果返回 NaN:
下图为
@antv/component
下的报错:
1677 会尝试获取 DOM 容器的 offsetWidth/Height,但 SVGElement 上没有这个属性导致计算结果返回 NaN:
下图为
@antv/component
下的报错: