Quantcast
Viewing latest article 37
Browse Latest Browse All 43

Comment by HMR on Ref to html element does not have correct height

I have tried for 2 hours to create a reproducible example but was unable to do this. In my project it would not work but my project uses content selectors that creates hidden content and at some point React is screwing up the ref in my code. What solved it for me is to not create hidden content and instead not render content that is not needed (like in a multiple step form)

Viewing latest article 37
Browse Latest Browse All 43

Trending Articles