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

激活285,虚拟列表追加数据后,获取高度错误 #420

Open
TinaSprunt opened this issue Nov 9, 2023 · 0 comments
Open

激活285,虚拟列表追加数据后,获取高度错误 #420

TinaSprunt opened this issue Nov 9, 2023 · 0 comments
Labels

Comments

@TinaSprunt
Copy link

未解决但已关闭,前情参考#285

@tangbc web端谷歌浏览器追加数据后,获取高度错误

示例:每次在获取数据后,都调用this.$refs.virtualListRef.getOffset()获取当前偏移量,但有时候获取不到真实的偏移量,会拿到0

获取数据后,打印当前 getOffset 及 getScrollSize的值
5

实际元素高度
6

@TinaSprunt TinaSprunt added the bug label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant