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

[Bug] 单元格设置 api 触发编辑,可能会出现高亮态不消失问题 #1956

Closed
Yang-yibu opened this issue Jun 20, 2024 · 0 comments · Fixed by #1957
Closed

[Bug] 单元格设置 api 触发编辑,可能会出现高亮态不消失问题 #1956

Yang-yibu opened this issue Jun 20, 2024 · 0 comments · Fixed by #1957
Assignees
Labels
bug Something isn't working

Comments

@Yang-yibu
Copy link

Version

1.3.0

Link to Minimal Reproduction

https://visactor.io/vtable/demo/edit/edit-cell

Steps to Reproduce

官方示例,https://visactor.io/vtable/demo/edit/edit-cell 多个版本都这个现象
设置 editCellTrigger: 'api',
tableInstance.addEventListener('click_cell', (args) => {
console.log('click-cell', args)
const field = args.field;
const record = args.originData;
tableInstance.startEditCell(args.col, args.row);
});

少快速点击多个单元格触发编辑。偶发

Current Behavior

image
出现不消失的高亮态后,移动滚动条,高亮态是固定的不随着单元格而移动。

Expected Behavior

像 editCellTrigger: 'click' 一样,没有意外的高亮态

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@Yang-yibu Yang-yibu added the bug Something isn't working label Jun 20, 2024
@fangsmile fangsmile self-assigned this Jun 20, 2024
@fangsmile fangsmile linked a pull request Jun 20, 2024 that will close this issue
21 tasks
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

Successfully merging a pull request may close this issue.

2 participants