-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Popup not working #1255
Comments
I can't imagine |
Sorry don't know where I got that number from |
I'm having the same issue when using a Dimmer with the page prop. Running |
As far as I can tell, it looks like this commit is to blame. In the statement |
Good eye, this should move to an inline |
My Pull Request only fixes the Dimmer, and probably not in the best way. It just seemed to solve my problem. My problem is also potentially that I have the |
This should be fixed by #1267, thanks @SirWaddles. |
Steps
I copied the first example from the documentation:
When I hovered over the
Button
I get this error:Uncaught TypeError: Cannot read property 'appendChild' of null at Portal._this.mountPortal (eval at <anonymous> (vendor-bundle.js:4693), <anonymous>:244:18)
Doing some digging I found that it wasn't picking up the mount node:
I looked at the code and the
isBrowser
code does return true for me in browser (though I copied and pasted it into my react component to test this).In order to get the popup to work I have to set the prop
mountNode={document.body}
Version
v0.18.1
I couldn't get this to fail for me in a codepen though so I'm not sure what's going on.
The text was updated successfully, but these errors were encountered: