antvis/G2

SVG 渲染结果存在异常 DOM 结构 #5741

xiaoiver posted onGitHub

问题描述

https://github.com/antvis/G/issues/1578

SVG 渲染器结果存在两个 g-root 根节点: <img width="550" alt="截屏2023-11-06 上午10 25 37" src="https://github.com/antvis/G2/assets/3608471/6a8b274a-cdcb-430b-bc14-87a54ce367a6">

正常情况下只会有一个: https://g.antv.antgroup.com/examples/ecosystem/d3/#d3-barchart

重现链接

https://g2.antv.antgroup.com/zh/examples/renderer/renderer/#svg

重现步骤

预期行为

只存在一个根节点。

平台

  • 操作系统: [macOS]
  • 网页浏览器: [Google Chrome]

屏幕截图或视频(可选)

补充说明(可选)


已修复:https://github.com/antvis/G/issues/1578 详见 SVG 截图

posted by xiaoiver over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests