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

Warning: ReflexElement: ref is not a prop. Trying to access it will result in undefined being returned. #29

Closed
JimVanEeden opened this issue Oct 20, 2017 · 2 comments

Comments

@JimVanEeden
Copy link

I really need to use a ref on ReflexElement, but it seems it doesn't work properly.

this might have something to do with it.

@leefsmp
Copy link
Owner

leefsmp commented Oct 21, 2017

At the moment I don't think it will work, a ref is passed internally in the ReflexContainer to the cloned children... When you say you "really need to use a ref", can you be a bit more explicit about the kind of feature you want to achieve? To me it seems that passing a ref of a div that is inside the ReflexElement and takes 100% of its content should be the same final for the user. Or I am missing something...

@leefsmp
Copy link
Owner

leefsmp commented Oct 22, 2017

I will close that issue for the time being based on my suggestion above, unless you have a strong use case for using a ref on ReflexElement itself, in which case feel free to reopen the issue and append some more detailed description. Thanks.

@leefsmp leefsmp closed this as completed Oct 22, 2017
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

2 participants