antvis/G6

[Bug]: BrushSelect 没有正确清除选中状态 #7012

dislido posted onGitHub

Describe the bug / 问题描述

  1. 框选操作在进行新的框选时没有清除旧框选的选中节点,必须先点击一下画板清除选中
  2. 在immediately模式下,节点离开框选范围时没有清除选中状态

https://codesandbox.io/p/sandbox/x8d69x

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

启用BrushSelect功能并执行以上操作

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

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

这是符合预期的,如果想实现你提到的效果,可以基于当前的 BrushSelect 自定义插件进行调整。

posted by yvonneyx 15 days ago

✅ After careful review, we've determined this is not a bug. Here's why:

  • The current behavior is working as designed
  • This might be a misunderstanding of the feature
  • The issue cannot be reproduced with the provided information

If you still believe this is a bug, please:

  1. Provide a minimal reproduction
  2. Share your expected behavior
  3. Include more detailed environment information

Thank you for helping us improve our project! 💫


✅ 经过仔细核查,这并非一个 bug,原因如下:

  • 当前表现符合设计预期
  • 可能是对功能理解有所偏差
  • 基于已提供信息无法复现问题

如果您仍认为这是一个 bug,建议:

  1. 提供最小复现示例
  2. 说明您期望的表现
  3. 补充更详细的环境信息

期待您的反馈!💫

posted by github-actions[bot] 15 days ago

Fund this Issue

$0.00
Funded

Pull requests