antvis/G6

4.8.21版本,带有collapsedSubstituteIcon属性的combo,折叠状态下没有选中效果,之前使用的4.6.18版本是有的 #5349

lvvgang posted onGitHub

问题描述

4.8.21版本,带有collapsedSubstituteIcon属性的combo,折叠状态下没有选中效果,之前使用的4.6.18版本是有的

重现链接

https://g6.antv.antgroup.com/zh/examples/item/defaultCombos/#rect

重现步骤

  1. combo设置
    combos: [
     {
       id: 'combo2',
       label: 'with substitute icon while collapsed',
       collapsed: true,
       collapsedSubstituteIcon: {
         show: true,
         img: 'https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*IEQFS5VtXX8AAAAAAAAAAABkARQnAQ',
         width: 72,
         height: 72
       }
     },
    ],
  2. 点击图片,没有选中效果

预期行为

带有collapsedSubstituteIcon属性的combo,折叠状态下要有选中效果

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


使用4.8.21版本遇到了同样的问题,现在有解决方案吗? @Aarebecca

posted by dangwoshimeng 10 months ago

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