G6 icon indicating copy to clipboard operation
G6 copied to clipboard

手机端 onClick事件无效

Open guoguozhang opened this issue 3 years ago • 3 comments

问题描述

手机端所有的相关事件都是无效的 graph.on('click', (ev) => { const shape = ev.target; const item = ev.item; if (item) { const type = item.getType(); } });

重现链接

手机端的问题

重现步骤

进入界面,点击任何区域

预期行为

希望手机端是有效的

平台

IOS

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

guoguozhang avatar Apr 25 '23 09:04 guoguozhang

试试 antv/F6, 或者自定义behavior模拟click

tthzwq avatar Apr 26 '23 05:04 tthzwq

node:touchstart | 在触控屏上,当节点开始被触碰的时候触发的事件

LeaveZzz avatar May 06 '23 07:05 LeaveZzz

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。

github-actions[bot] avatar Jul 05 '24 03:07 github-actions[bot]