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

DOMNode is empty... #159

Closed
onzag opened this issue Aug 11, 2017 · 1 comment
Closed

DOMNode is empty... #159

onzag opened this issue Aug 11, 2017 · 1 comment

Comments

@onzag
Copy link

onzag commented Aug 11, 2017

I have the following code in order to make some animation calculations

onOpen(DOMNode){
   
}

However I cannot access anything in the DOMNode because the element is just a <div></div> without any content at all, there should be another div inside, this makes animating inside pointless because I can't even take measurements.

@tajo
Copy link
Owner

tajo commented Oct 1, 2017

Hey, please check the new major version of react-portal: #157

It's React v16 only since its uses the new official Portal API. There is a first beta released and I would like to get your feedback. I don't have bandwidth to maintain v3 which is very different and full of hacks.

@tajo tajo closed this as completed Oct 1, 2017
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