Answer the question
In order to leave comments, you need to log in
How to make inner component position:absolute to root app in React?
with React for now. Faced such piece - it is impossible to make Component absolute to all application. As far as I understand, position:absolute is set relative to ONLY the parent of the component.
This is not convenient, although it may come in handy somewhere. How to solve the issue?
Answer the question
In order to leave comments, you need to log in
So what does React have to do with it if the problem is with CSS?
No, "position: absolute" is relative to the parent only if the parent's position property is fixed , absolute , or relative , i.e. not static .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question