Skip to content

[Bug] select.disableDragSelect 与 frozenColCount 有冲突 #3702

@ysair

Description

@ysair

Version

vue-vtable : ^1.17.5

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/vtable-columns-nested-structure-forked-3d67px

Steps to Reproduce

1.创建一个ListTable


2.设置选项
const tableOptions = reactive({
frozenColCount: 1,
select: {
disableDragSelect: true,
}
});

3.填充数据

4.从非冻结格点击拖动鼠标移至冻结列,可以选择多个单元格

Current Behavior

https://codesandbox.io/p/sandbox/vtable-columns-nested-structure-forked-3d67px
仅在官方示例上增加了以下选项
frozenColCount: 1,
select: { disableDragSelect: true },

鼠标从"3 persons"格拖往右边,无法选中多个单元格,但往左边冻结列拖,可以选中多格

Expected Behavior

不能多选

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions