8000 [Bug]: label transfrom 没有正常清除 · Issue #6780 · antvis/G2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: label transfrom 没有正常清除 #6780
Closed
@moayuisuda

Description

@moayuisuda

Describe the bug / 问题描述

当 label 配置从

labels: [
  {
    text: 'value',
    transform: [{ type: 'overlapHide' }],
  },
],

变为

labels: [
  {
    text: 'value',
    transform: [],
  },
],

时,label 依然应用了 overlapHide

Reproduction link / 复现链接

https://stackblitz.com/edit/react-chvm779o-sabv2prc?file=src%2Findex.js

Steps to Reproduce the Bug or Issue / 重现步骤

No response

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0