position: fixed support, want to make a view fullscreen. #264
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For support of position: "fixed" in css-layout,
Use case : I have (many) videoView deeply nested in view hierarchy - think list of videos, any one of which I want to make fullscreen.
Current approach (hack) : make videoview as big as screen(fixed values for height width in css style), track videoview's parent layout position and give negative margins to videview to show it properly.
Desired approach : Was wondering if there is a simple way to do this (like position: fixed and specify screen co-ordinates)
Any suggestions or help is welcome
For product questions like this please ask them on stack overflow with the react native tag.
http://stackoverflow.com/questions/40891450/react-native-flexbox-css-layout-position-fixed-support
Hey guys can we re-open this feature request? I'm also looking for a position: fixed layout property in react native.
According to the docs: An item marked with Position = Absolute is positioned absolutely in regards to its parent. See https://facebook.github.io/yoga/docs/absolute-position/
We really need a way to position an element with regards to the root screen similar to position: fixed in a browser.
I'm fine re-opening as a feature request.
Thanks Emil :-) I've mentioned this feature request in a problem I've posted on StackOverflow. Hopefully others that need this will get involved too.
http://stackoverflow.com/questions/43928977/instagram-style-pan-zoom-with-react-native
any update?
This is an important because currently in RN we have to use a Portal or a Modal to render views out of the positional scope.
Update, please it's really important.
Nothing my team is currently working on. Happy to review pull requests though!
any update on this?
hope to this feature too.
any update so far?