Skip to content

[Bug]:modes中添加‘’zoom-canvas‘,影响自定义节点内容滚动 #7668

Description

@superYan520

Describe the bug / 问题描述

G6中modes中添加‘’zoom-canvas‘,如果自定义节点添加自定义behavior中使用了wheel,想要自定义节点的文本可滚动查看。但是就会一个问题,滚动自定义节点的内容的时候,画布也会自动缩放。怎么处理才能使在滚动节点内容的时候,画布不会自动缩放。

Reproduction link / 复现链接

No response

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

No response

Version / 版本

Please select / 请选择

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions