VisActor / VTable

VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.
https://visactor.io/vtable
MIT License
1.68k stars 142 forks source link

CONTEXTMENU_CELL在移动端无效 #2006

Open fuxingjun opened 3 months ago

fuxingjun commented 3 months ago

Version

*

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/vtable-export-umd-forked-v22qtc?file=%2Fsrc%2Findex.ts%3A56%2C11

Steps to Reproduce

tableInstance.on(ListTable.EVENT_TYPE.CONTEXTMENU_CELL, (args) => {
  console.log("contextmenu_cell", args);
});

Current Behavior

PC端右键单元格能触发绑定事件, 移动端长按无法触发.

Expected Behavior

移动端长按应该触发右键时间

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

fangsmile commented 3 months ago

你好,我们之前应该是没有适配这个长按触发右键事件。你那是否可以调试下呢,找到代码问题后可以直接提交pr。 具体适配逻辑应该这块地方,如果有不清楚的可以加飞书群找我哈 @fuxingjun image