Closed jimmyrogue closed 7 months ago
@jimmyrogue Could you provide test case code, similar to codesandbox?
@mfuu here: case
funny thing is you must open web dev tool(F12) and the bug will show
I think some css trigger this bug
@jimmyrogue It's caused by the size change of the image before and after loading.
@mfuu thanks but if I still need to calc the height of image by a function or dynamic, how to do it correctly ?
@jimmyrogue I am trying to solve it, you can re-open the issue if you want
@jimmyrogue Try to pass an estimated size with size
prop, like:
<virtual-list :size="50"></virtual-list>
@mfuu thanks and I find if I calc the height earlier the problem will solve
Hi
my component is a dynamic image list
so the height isn't const
when I scroll down everything is ok but when I scroll up
the scroll position will jump back to where load start
pls help me
thanks