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

虚拟list搭配checkbox-group滚动异常, 且autoResize失效 #64

Open
1 task done
zkzgs opened this issue Dec 20, 2024 · 1 comment
Open
1 task done

虚拟list搭配checkbox-group滚动异常, 且autoResize失效 #64

zkzgs opened this issue Dec 20, 2024 · 1 comment
Labels
bug Something isn't working fix has been fix

Comments

@zkzgs
Copy link

zkzgs commented Dec 20, 2024

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

https://codesandbox.io/p/sandbox/vxe-listwen-ti-yan-shi-forked-wm8k2w?file=%2Fsrc%2Fviews%2FDemo1.vue%3A36%2C18-36%2C32&workspaceId=ws_92C7z26NFfMoAxM9fpPmty

问题描述与截图:

  1. 搭配checkbox-group使用有异常
  2. autoResize无论设不设置height都没有生效,设置'auto'更会导致虚拟滚动失效

期望的结果:

希望拖拽父盒子大小后,自动计算list高度,且可以自动铺满父组件,不要有空白

操作系统:

window 10

浏览器版本:

Chrome 129.0.6668.70

vue 版本:

3.2.31

vxe-pc-ui 版本:

最新

vxe-table 版本:

4.9.32

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本并已按要求提供复现链接与示例代码。
@zkzgs zkzgs added the bug Something isn't working label Dec 20, 2024
@xuliangzhan
Copy link
Collaborator

如果选项不直接在列表容器,还需要指定 scroll-y.sItem
https://codesandbox.io/p/sandbox/vxe-listwen-ti-yan-shi-forked-28fw9z?workspaceId=ws_9QgXJxtYGukPm9GZikBvDy

@xuliangzhan xuliangzhan added the fix has been fix label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix has been fix
Projects
None yet
Development

No branches or pull requests

2 participants