antvis/G6

[V5] Click to select (click-select) does not take effect in linux+chrome environment #6471

Panpanpie posted onGitHub

Describe the bug / 问题描述

使用linux+chrome120,打开v5文档示例中"交互-选中"示例,点击节点无法实现选中。 如下自定义点击事件,也无法生效打印。 graph.on('click', (event) => { console.log('event click=====>', event) }); linux+FireFox,windows均可正常响应。

https://g6.antv.antgroup.com/examples/behavior/select/#click

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Linux

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


由于我们没有相关操作系统的设备,因此可能无法复现你提到的问题。 你可以尝试下实例看下交互是否正常? 以及 DragElement DragCanvas 在你的设备上是否正常。

posted by Aarebecca 6 months ago

DragElement DragCanvas 这这些drag事件都正常,只有click相关事件无法响应

posted by Panpanpie 6 months ago

DragElement DragCanvas 这这些drag事件都正常,只有click相关事件无法响应

理论上这几个事件都是基于 pointerdown pointermove pointerup 事件实现的,不应该 drag 事件正常而 click事件不正常

posted by Aarebecca 6 months ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 5 months ago

Fund this Issue

$0.00
Funded

Pull requests