diff --git a/src/View.js b/src/View.js index 4227fc75e95f6cfbd0ee5c31151768c958fbbd15..65fe66138e7981a60894043f8e6fc39cb1f37cdb 100644 --- a/src/View.js +++ b/src/View.js @@ -11,10 +11,10 @@ const { const GLCanvas = requireNativeComponent("GLCanvas", null); -const renderVcontent = function (width, height, id, children) { +const renderVcontent = function (width, height, id, children, visibleContent) { const childrenStyle = { position: "absolute", - top: 0, + top: visibleContent ? 0 : height, left: 0, width: width, height: height,