VisActor / VisActor/VTable

[Bug] column.disableSelect bug

Open
#3,915 1 comment 0 reactions 1 assignee View on GitHub

@fangsmile is already working on this.

Since May 21, 2025.

bug
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

"@visactor/vtable": "^1.18.3",

Link to Minimal Reproduction

https://visactor.com/vtable/demo/interaction/select

Steps to Reproduce

列设置:
disableSelect: () => {
return !item.field.includes("date");
},
然后前三列是固定列,当鼠标滑动到非固定列的边缘,再继续滑动,就会选中固定列的单元格

Current Behavior

列设置:
disableSelect: () => {
return !item.field.includes("date");
},
然后前三列是固定列,当鼠标滑动到非固定列的边缘,再继续滑动,就会选中固定列的单元格

Expected Behavior

被禁止选中的列应该始终无法被选中

Environment
- OS:Ubuntu 24.04.2 LTS
- Browser:Microsoft Edge 版本 135.0.3179.73 (正式版本) (64 位)
- Framework:"vue": "^3.5.13"
Any additional comments?

https://github.com/user-attachments/assets/c7244c32-d656-41d3-b421-f8babb30a8a8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.