antvis/G6

Canvas 下拖拽自定义节点产生残影 #4956

xiaoiver posted onGitHub

Describe the bug

拖拽自定义节点会产生残影:

<img width="554" alt="截屏2023-09-12 下午1 50 35" src="https://github.com/antvis/G6/assets/3608471/e4894b39-d887-4664-b7a2-aa659c3c7c80">

https://github.com/antvis/G/issues/1530

Your Example Website or App

https://g6-next.antv.antgroup.com/zh/examples/item/customNode/#cardNode

Steps to Reproduce the Bug or Issue

  1. 访问 https://g6-next.antv.antgroup.com/zh/examples/item/customNode/#cardNode
  2. 快速拖拽节点

Expected behavior

正常无残影

Screenshots or Videos

No response

Platform

  • OS: [macOS]
  • Browser: [Chrome]
  • Version: [116]

Additional context

No response


🤖

posted by Yanyan-Wang over 1 year ago

已修复。更新至 @antv/g-canvas@1.11.17 修复方式为增加了脏矩形的 padding,上下左右各增加了 2px Oct-08-2023 10-12-53

posted by xiaoiver over 1 year ago

已修复。更新至@antv/g-canvas@1.11.17修复方式为增加了几何的padding,上下左右各增加了2px 2023年10月8日 53年10月12日 Oct-08-2023 10-12-53

已修复。更新至@antv/g-canvas@1.11.17修复方式为增加了几何的padding,上下左右各增加了2px 2023年10月8日 53年10月12日 2023年10月8日 53年10月12日

在哪里添加的padding

posted by nanfb over 1 year 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