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

Invalid offset NaN specified #78

Open
AryanSingh opened this issue Sep 21, 2019 · 4 comments
Open

Invalid offset NaN specified #78

AryanSingh opened this issue Sep 21, 2019 · 4 comments

Comments

@AryanSingh
Copy link

image

@NawarA
Copy link

NawarA commented Mar 16, 2020

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

@NawarA
Copy link

NawarA commented Mar 16, 2020

@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

@AryanSingh
Copy link
Author

AryanSingh commented Mar 16, 2020 via email

@matatablack
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants