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

Failed prop type: The prop overlay is marked as required in Tooltip, but its value is undefined. #6897

Closed
manjitkumar opened this issue Jul 19, 2017 · 4 comments

Comments

@manjitkumar
Copy link

Version

2.12.1

Environment

Mac OS X, Firefox 54.0.1 64bit,

Reproduction link

http://imgur.com/a/Nxeua

Steps to reproduce

console.log(query)} />

What is expected?

Tooltip should be apprearing with no warnings.

What is actually happening?

Tooltip isn't appearing and overlay required prop warning is coming in console where as docs doesn't mention about this prop.

@manjitkumar
Copy link
Author

I found out the cause of my issue. An undefined value was passed into prop title but the warning message displayed some other prop name.

@benjycui
Copy link
Contributor

Please provide a re-producible demo: http://codepen.io/benjycui/pen/KgPZrE?editors=001

@afc163 afc163 closed this as completed in 545d171 Jul 20, 2017
@vydimitrov
Copy link

I came across the same issue. Just by adding the title prop it solved the problem. Thanks for sharing.

@aprilandjan
Copy link

Same issue too. The warning message is confusing.

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

4 participants