We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I pass getVisibleRange to other component and use in event handler it throws error:
It can be fixed by binding it to the reference object first:
<Component getVisibleRange={reactListRef.current?.getVisibleRange.bind(reactListRef.current)} />
In child component I'm using it like this:
window.addEventListener('scroll', () => getVisibleRange());
It's quite inconvenient and it took me quite a bit of trying to make it work.
Version 0.8.16
PS: This library is great :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I pass getVisibleRange to other component and use in event handler it throws error:
It can be fixed by binding it to the reference object first:
In child component I'm using it like this:
It's quite inconvenient and it took me quite a bit of trying to make it work.
Version 0.8.16
PS: This library is great :)
The text was updated successfully, but these errors were encountered: