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

ref on ScrollSyncPane child is not working #79

Open
kot-shrodingera opened this issue Aug 27, 2022 · 2 comments
Open

ref on ScrollSyncPane child is not working #79

kot-shrodingera opened this issue Aug 27, 2022 · 2 comments

Comments

@kot-shrodingera
Copy link

How can I use ref on ScrollSyncPane child? It is always undefined. Maybe that's because ScrollSyncPane is cloning child in render function, passing childRef property, which is never set?

@okonet
Copy link
Owner

okonet commented Aug 27, 2022

Yeah that could be the reason. I found out over time the cloning children should be avoided but I'm currently not really maintaining this lib. So if you want to submit a PR feel free to do so.

@vanntrong
Copy link
Contributor

Hi okonet, I have created a pr for this issue, please check it #90

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