From 5413b5211b35c383dd46307b04486ead3deff974 Mon Sep 17 00:00:00 2001 From: Rahul Jiresal Date: Wed, 17 Feb 2016 13:05:35 -0800 Subject: [PATCH 1/2] Fixed styles so longer scrollviews stay within the bounds of the screen --- styles.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles.js b/styles.js index a2ba3a0..0c9b17b 100644 --- a/styles.js +++ b/styles.js @@ -16,6 +16,8 @@ module.exports = StyleSheet.create({ position: 'absolute', top: 0, left: 0, + right: 0, + bottom: 0 }, frontView: { flex: 1, From 970d38297dd0740fb9199bec4d5d7f1142cedaed Mon Sep 17 00:00:00 2001 From: Rahul Jiresal Date: Wed, 17 Feb 2016 13:23:08 -0800 Subject: [PATCH 2/2] Fixed the styling of menu so content is not hidden behind the main screen when the menu is open --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 849ddc3..49e361b 100644 --- a/index.js +++ b/index.js @@ -211,7 +211,7 @@ class SideMenu extends Component { * @return {React.Component} */ render() { - const menu = {this.props.menu}; + const menu = {this.props.menu}; return (