Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONTEXTMENU_CELL在移动端无效 #2006

Open
fuxingjun opened this issue Jun 28, 2024 · 1 comment
Open

CONTEXTMENU_CELL在移动端无效 #2006

fuxingjun opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@fuxingjun
Copy link

fuxingjun commented Jun 28, 2024

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

@fuxingjun fuxingjun added the bug Something isn't working label Jun 28, 2024
@fangsmile
Copy link
Contributor

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

@fangsmile fangsmile self-assigned this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants