To support the position: "fixed" in css-layout (react-native),
Use case: I have (a lot) of videoView deeply embedded in the hierarchy of views - think about a list of videos, any of which I want to make full-screen.
Current approach (hacking): make the video review as large as the screen (fixed css-style height widths), track the position of the parent layout of the video vision and set negative margins for watching the video in order to display it correctly.
Desired approach: I wonder if there is an easy way to do this (e.g. position: fixed
)
Any suggestions or help are appreciated.
source share