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

Function components cannot be given refs. #850

Closed
mo-masmoudi opened this issue Aug 21, 2019 · 3 comments
Closed

Function components cannot be given refs. #850

mo-masmoudi opened this issue Aug 21, 2019 · 3 comments

Comments

@mo-masmoudi
Copy link

mo-masmoudi commented Aug 21, 2019

Expected Behavior

Clean Console

Current Behavior

Error in the screenshot attached.

Tech Version
Material-UI 4.3.2
MUI-datatables 2.8.1
React 16.9.0
browser 16.9.0
Capture d’écran de 2019-08-21 11-46-30
@gabrielliwerant
Copy link
Collaborator

Hey @DaLying. I'm going to need more information. Can you outline the steps you took to produce the error? Even better, can you recreate a minimal example that creates the error in a codesandbox so we can be sure we're both looking at the same thing?

@gabrielliwerant gabrielliwerant added the needs verification For issues that can't be reproduced or are otherwise unclear label Aug 21, 2019
@patorjk
Copy link
Collaborator

patorjk commented Aug 22, 2019

Same as #595

If you use Material UI v4 and have the Print icon visible this message is printed in the console. It can be fixed by wrapping the Tooltip in the ReactToPrint component in a span tag - PR #836

@gabrielliwerant gabrielliwerant added enhancement and removed needs verification For issues that can't be reproduced or are otherwise unclear labels Aug 29, 2019
@gabrielliwerant
Copy link
Collaborator

Should be fixed as of 2.10.0.

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

No branches or pull requests

3 participants