Open AryanSingh opened 4 years ago
I'm getting the same error when trying to use scrollToIndex
@AryanSingh did you resolve the issue? I'm trying hackery to resolve the bug. Even when I define an offset of 0
or 1
it still says its a NaN
. Wondering if you found a fix for this
Sorry man, i left this
On Tue, Mar 17, 2020, 1:18 AM Nawar Alsafar notifications@github.com wrote:
@AryanSingh https://github.com/AryanSingh did you resolve the issue? I'm trying hackery to resolve the bug. Even when I define an offset of 0 or 1 it still says its a NaN. Wondering if you found a fix for this
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/clauderic/react-tiny-virtual-list/issues/78#issuecomment-599728399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEQUSH3JWLSD6TLB3WMVSLRHZ7BHANCNFSM4IY5IVFQ .
Hi! Im getting the same error! Any clues? Really need scrollToIndex
scrollToOffset works but the only way i have to get the offset in px is pre measuring all nodes in a hidden portal and that kind of hacky stuff :(
Or assuming a fixed element height
Thanks!