Give me advice what I'm doing wrong (html/css) (solved)
I want output modal in body but this modal relative to parent body
How I can do this modal relative to body tag inside?

11 Replies
Update
When I set position:absolute it works correct

But when I scroll its not fixed

I also use this
And I will satisfied when it will work on children body

Use iframe src='deploied site'
or add class body to site in site

I don't know how but today it doesn't work

The same code

Mmm not the same comment (changes not saved)
Why are you doing querys inside reactjs?
Just add a conditional statement inside your element's className itself
so <div className={"body" + (isOpen ? " style" : " hideStyle")}> </div>
Correct me please

another + after the purple brackets