0

我已从现有项目中的虚拟滚动文件夹中获取文件,以对虚拟滚动执行 POC。

https://github.com/CirclonGroup/angular-tree-component/blob/master/projects/example-app/src/app/virtualscroll/virtualscroll.component.ts

没有使用相同代码启用的虚拟滚动。 我的行为

如果我从 github (angular-tree-component) 运行项目,我会得到滚动。工作代码参考: https ://angular2-tree.readme.io/docs/large-trees

4

1 回答 1

0

在我的代码中,有人在 overrides.scss 中覆盖了以下行:

tree-viewport {
    overflow: visible;
}

删除这条线对我有用。

于 2020-10-28T16:42:29.010 回答