antvis/G6

drag-canvas与brush-select(trigger:'shift')同时存在时,框选会触发画布拖拽 #6126

zyh0yh posted onGitHub

Describe the bug / 问题描述

drag-canvas与brush-select(trigger:'shift')同时存在时,框选会触发画布拖拽

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

drag-canvas与brush-select(trigger:'shift')同时存在时,框选会触发画布拖拽,有什么方式可以同时满足两个条件,框选时画布拖拽失效


https://github.com/antvis/G6/pull/6125 已修复,今天会发布新版本

posted by Aarebecca 9 months ago

当前已更新5.0.11,并再次测试,发现还是会存在同时触发的情况

posted by zyh0yh 9 months ago

5.0.19还存在问题

posted by zyh0yh 8 months ago

发现一个点,就是当鼠标指针在节点内时,框选是不会同时触发drag-canvas的,可识当鼠标指针在画布上时,框选就会同时触发Drag-canvas

posted by zyh0yh 8 months ago

Fund this Issue

$0.00
Funded

Pull requests