-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Open
Labels
Description
Version
Vben Admin V5
Describe the bug?
vxe表格在虚拟滚动的情况下, 如果表格的高度是的自动, 会行高冲突问题, 具体体现在, 如果我修改表格的size为200, 就会出现显示的表格数据行数没有到达200的情况.
Reproduction
在229行的位置, 新增代码, 就可以解决:
if (
mergedOptions.virtualYConfig?.enabled &&
mergedOptions.rowConfig?.height === 'auto'
) {
// Virtual scrolling assumes fixed row height; auto height can clip rows.
mergedOptions.virtualYConfig.enabled = false;
}
System Info
System:
OS: macOS 15.6.1
CPU: (10) arm64 Apple M4
Memory: 157.13 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - /Users/yanghan/.nvm/versions/node/v22.14.0/bin/node
npm: 10.9.2 - /Users/yanghan/.nvm/versions/node/v22.14.0/bin/npm
pnpm: 10.14.0 - /Users/yanghan/.nvm/versions/node/v22.14.0/bin/pnpm
Watchman: 2026.01.05.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 144.0.7559.97
Safari: 18.6Relevant log output
Validations
- Read the docs
- Ensure the code is up to date. (Some issues have been fixed in the latest version)
- I have searched the existing issues and checked that my issue does not duplicate any existing issues.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable