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

Error when there is no internal content #21

Open
jw56578 opened this issue Apr 27, 2016 · 2 comments
Open

Error when there is no internal content #21

jw56578 opened this issue Apr 27, 2016 · 2 comments

Comments

@jw56578
Copy link

jw56578 commented Apr 27, 2016

If I only want to open a URL, I shouldn't need a child element in the Popup component.

<Popout url='http://www.google.com' title='Window title' >
 </Popout>

but this creates
invariant.js:39 Uncaught Invariant Violation: ReactDOM.render(): Invalid component element.

@marcellodesales
Copy link

Getting the same problem here :(

    at invariant (invariant.js:44)
    at Object._renderSubtreeIntoContainer (ReactMount.js:347)
    at Object.render (ReactMount.js:422)
    at s (react-popout.min.js:1)
    at t.value (react-popout.min.js:1)
    at ReactCompositeComponent.js:264
    at measureLifeCyclePerf (ReactCompositeComponent.js:75)
    at ReactCompositeComponent.js:263
    at CallbackQueue.notifyAll (CallbackQueue.js:76)
    at ReactReconcileTransaction.close (ReactReconcileTransaction.js:80)```

@marchaos
Copy link
Collaborator

Can you retest with the latest version?

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