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

vxe-grid 开启纵向虚拟滚动,配置scroll-y.gt或virtual-y-config.gt大于0无效,示例配置期望大于3行启动虚拟滚动,实则无效 #2761

Open
2 tasks done
xtito opened this issue Jan 23, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@xtito
Copy link

xtito commented Jan 23, 2025

可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):

https://stackblitz.com/edit/vitejs-vite-vmbmcz9n?file=src%2FApp.vue

是否已准备好复现链接与示例代码?

  • 我确定已准备好以上复现链接

问题描述与截图:

问题:使用vxe-grid树结构表格开启纵向虚拟滚动,配置scroll-y.gt或virtual-y-config.gt大于0未能成功启动纵向滚动。配置如下:
scrollY: { enabled: true, gt: 3 }

或者

virtualYConfig: { enabled: true, gt: 3 },

期望的结果:

当配置gt大于3行时,启动纵向滚动

操作系统:

macOs Big Sur

浏览器版本:

chrome 131.0.6778.265

vue 版本:

3.5.13

vxe-pc-ui 版本:

4.3.75

vxe-table 版本:

4.10.6-beta.31

是否使用当前最新版本?

  • 我确定已经更新到最新版本后依然存在该问题
@xtito xtito added the bug Something isn't working label Jan 23, 2025
@xlz26296
Copy link
Contributor

你这个demo链接给的是 scrollX,也不是 scrollY,和你描述的完全不一样

@xtito
Copy link
Author

xtito commented Jan 23, 2025

@xlz26296 抱歉参数敲错了,demo参数已更正。

你这个demo链接给的是 scrollX,也不是 scrollY,和你描述的完全不一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants