antvis / antvis/X6

panning和mousewheel的modifiers、eventTypes、guard支持更灵活的配置方式

Open
#5,007 0 comments 0 reactions 0 assignees View on GitHub
feature 💡
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 功能描述

1. 移动和缩放画布时,我只能选择要加修饰符或不加修饰符,不能同时支持;
2. panning的modifiers支持space而mousewheel不支持space;
3. mousewheel支持guard而panning不支持;

### 期望解决方案

1. 希望panning和mousewheel配置modifiers时支持忽略修饰符的配置项;
2. mousewheel的modifiers能够支持space;
3. panning能够支持以guard的方式配置;
4. guard的event中可以判断当前是否添加了修饰符;

### 是否愿意参与贡献?

✅ 是

Contributor guide

Open the contributing guide

Research direction

No files or tests are identified in the issue. Start by locating the TypeScript entry points for panning and mousewheel configuration, then trace their modifier and guard event handling. Done means both interactions support ignored modifiers, mousewheel accepts space, panning accepts guard configuration, and guard events can inspect active modifiers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.