Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

tree-structure table 展开后,scrollToIndex定位不准。 #155

@ilostidea

Description

@ilostidea

例如:当数据中有 children 字段时会自动展示为树形表格,但展开父节点后,scrollToIndex定位不准。
const data: RecordType[] = new Array(1000).fill(null).map((_, index) => ({
id: index,
firstName: First_${index.toString(16)},
lastName: Last_${index.toString(16)},
children: [{
id: index + ".1",
firstName: First_${index.toString(16)}. 1,
lastName: Last_${index.toString(16)}. 1,
},{
id: index + ".2",
firstName: First_${index.toString(16)}. 2,
lastName: Last_${index.toString(16)}. 2,
}]
}));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions