Skip to content

[Bug] 数据不足一屏时,设置冻结行,表格样式错乱 #5253

Description

@zhiaiing

Version

1.26.5

Link to Minimal Reproduction

https://visactor.io/vtable/demo/table-type/list-table?version=1.26.5

Steps to Reproduce

data 不足一屏时, 设置frozenRowCount, bottomFrozenRowCount
const option = {
records: data.splice(0, 6),
frozenRowCount: 4,
bottomFrozenRowCount: 1,
columns,
widthMode: 'standard'
};

Current Behavior

Image

表格中间出现空白, 滚动条位置也不对

Expected Behavior

表格渲染正常
滚动条位置正确

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions