X6 icon indicating copy to clipboard operation
X6 copied to clipboard

2.x版本 Stencil插件在 collapsable=false 时会遮挡第一组抬头

Open georgezhu08 opened this issue 1 year ago • 0 comments

问题描述

在2.x版中,使用Stelcil插件时,如果collapsable=false,那么第一组的名字会被Stencil自己的title遮挡。在1.x版本中无此问题。

在示例中,如果collapsable=true,这时候是可以看见第一组的抬头“基础流程图”的:

Screenshot 2024-06-07 at 13 59 13

如果collapsable=false,这时候“基础流程图”这个抬头被遮挡了:

Screenshot 2024-06-07 at 13 59 27

重现链接

https://x6.antv.antgroup.com/examples/showcase/practices#flowchart

重现步骤

  1. collapsable=true,第一组抬头“基础流程图”可见;
  2. collapsable=false,第一组抬头“基础流程图”被Stencil自己的抬头遮挡。

预期行为

无论collapsable为true或者false,第一组的抬头应该可见。

平台

  • 操作系统: macOS
  • 网页浏览器: Google Chrome
  • X6 版本: 2.18.1

georgezhu08 avatar Jun 07 '24 06:06 georgezhu08