Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持不固定的节点高度吗 #103

Open
17611105231 opened this issue Aug 8, 2024 · 2 comments
Open

支持不固定的节点高度吗 #103

17611105231 opened this issue Aug 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@17611105231
Copy link

文档中通过设置nodeMinHeight给子节点添加min-height,来计算整个tree的高度
如果子节点的高度不固定,是否会影响总高度,导致虚拟滚动有问题

@ChuChencheng
Copy link
Collaborator

高度差太多的话确实会有问题,目前是没有考虑不定高的
有使用场景么

@17611105231
Copy link
Author

高度差太多的话确实会有问题,目前是没有考虑不定高的 有使用场景么

defaf9b3f8f65bf40e1037366367141
比如这种部门名字过长,组件默认是不换行的,手动添加css覆盖使其换行,就会导致节点实际高度超过节点的min-height

@ChuChencheng ChuChencheng added the enhancement New feature or request label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants