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.43k stars 103 forks source link

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

Closed Yang-yibu closed 3 weeks ago

Yang-yibu commented 4 weeks ago

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