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

Problem using react-tooltip-component on the server side #2

Open
lbdremy opened this issue Mar 8, 2016 · 1 comment
Open

Problem using react-tooltip-component on the server side #2

lbdremy opened this issue Mar 8, 2016 · 1 comment

Comments

@lbdremy
Copy link

lbdremy commented Mar 8, 2016

I'm getting this error while using the react-tooltip-component on the server side.

/front/node_modules/react-tooltip-component/lib/Tooltip.js:188
      container: document.body,
                 ^
ReferenceError: document is not defined
    at /Users/rloubradou/workspace/front/node_modules/react-tooltip-component/lib/Tooltip.js:188:18

Setting container: null fixes the issue, and the component is still functional.

@lbdremy lbdremy changed the title Problem using react-tooltip-component on server side Problem using react-tooltip-component on the server side Mar 8, 2016
@psrebniak
Copy link

@lbdremy I fixed that in psrebniak/react-tooltip-component. You can use this repository until @minhtranite will accept pull request.

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