react-tiny-virtual-list icon indicating copy to clipboard operation
react-tiny-virtual-list copied to clipboard

Invalid offset NaN specified

Open AryanSingh opened this issue 6 years ago • 5 comments

image

AryanSingh avatar Sep 21 '19 07:09 AryanSingh

I'm getting the same error when trying to use scrollToIndex

NawarA avatar Mar 16 '20 19:03 NawarA

@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

NawarA avatar Mar 16 '20 19:03 NawarA

Sorry man, i left this

On Tue, Mar 17, 2020, 1:18 AM Nawar Alsafar [email protected] 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 .

AryanSingh avatar Mar 16 '20 23:03 AryanSingh

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!

matatablack avatar Sep 07 '21 15:09 matatablack