-
Notifications
You must be signed in to change notification settings - Fork 43
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
鼠标拖动滚动条时错位 #9
Comments
指的是滑块和鼠标之间的错位 |
item-size设置了估计行高为62,但是实际行高是71,而滚动容器是由 2000 * 62(行数 * 行高) 撑起滚动内容高度的,而实际上虚拟滚动会更新实际每行的高度也就是71,导致滚动容器滚动内容高度越来越大于 2000 * 62并慢慢地变为 2000 * 71,所以容器每次滚动都会让容器滚动内容高度变大,是的滚动条错位。 |
赞,好使了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://xiaocheng555.github.io/el-table-virtual-scroll/#/SortDemo?code=SortDemo&codeTitle=%E6%8E%92%E5%BA%8F
看的是这个demo,发现拖动滚动条时会出现错位现象,逐渐变大的那种,这种正常么
The text was updated successfully, but these errors were encountered: