antvis / antvis/G6

[Feat]: `brush-select`交互应该增加一个能拦截清空元素状态的配置

Open
#7,593 2 comments 0 reactions 0 assignees View on GitHub
feature 💡
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature / 功能描述

当自定义一些其他交互时,单击画布空白区域,很有可能需要保持元素状态。
但是如果同时启用了brush-select,而brush-select中,点击画布空白区域,默认会清空所有元素的状态。

### Are you willing to contribute? / 是否愿意参与贡献?

Please select / 请选择

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TypeScript implementation of the `brush-select` interaction and inspect how a blank-canvas click clears element state. Check for existing interaction configuration tests or examples before deciding how the option should behave. Done means the new configuration can prevent clearing while the default behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.