-
Notifications
You must be signed in to change notification settings - Fork 1.9k
NTree组件虚拟滚动下,设置n-tree-node的高度,展开后出现跳动 #7529
Copy link
Copy link
Open
Labels
untriagedneed to sortneed to sort
Description
描述错误
每行的height只能是默认的高度,也就是22px,大于或小于22px都会出现跳动,能不能在NTree给个height参数,手动指定高度呢
复现步骤
见复现链接
最小复现链接
系统信息
System:
OS: macOS 26.3.1
CPU: (10) arm64 Apple M1 Pro
Memory: 165.91 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 25.0.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 11.6.2 - /usr/local/bin/npm
pnpm: 10.2.0 - /usr/local/bin/pnpm
Browsers:
Brave Browser: 142.1.84.139
Chrome: 145.0.7632.160
Safari: 26.3.1
npm notice
npm notice New minor version of npm available! 11.6.2 -> 11.11.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.11.1
npm notice To update run: npm install -g npm@11.11.1
npm notice使用的包管理器
npm
验证
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
untriagedneed to sortneed to sort