antvis/G6

Combo的collapsed全局默认配置优于局部配置导致显示出问题 #5302

youbins posted onGitHub

G6 Version

4.x

Describe the bug

前置条件: Combo的collapsed配置项: 1、Graph初始化时设置Combo默认配置中的collapsed=true 2、数据中设置collapsed=false,并且设置collapsedSubstituteIcon.show=true

显示结果: image

Your Example Website or App

https://codesandbox.io/p/sandbox/goofy-nash-fz9cvq?file=%2Findex.js%3A35%2C6

Steps to Reproduce the Bug or Issue

1、BUG示例 image

Expected behavior

Combo收缩时其子元素应正常隐藏。

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Edge
  • Version: 121.0.2277.4

Additional context

No response


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests