antvis / antvis/X6

让连接桩支持移动端的触摸组事件

Open
#4,569 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 功能描述

发现,连接桩在移动端上(如微信浏览器又或者谷歌移动版等),拖动中没有实时轨迹【最后却能连到另一个节点的连接桩上】,分析后发现是没有移动端事件处理。比如 , this.notifyPortEvent('node:port:mousemove', e, { x, y }) 等等几乎都是鼠标事件。

### 期望解决方案

在egde中增加移动端事件支持。

Contributor guide

Open the contributing guide

Research direction

Start by tracing edge handling around notifyPortEvent and the node:port:mousemove event mentioned in the issue. Compare the existing mouse-event path with mobile touch events, then verify that dragging a connection port in a mobile browser reports a real-time trajectory and still connects to the target port.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.