Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

Fixed styles so longer scrollviews stay within the bounds of the screen #195

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -213,7 +213,6 @@ class SideMenu extends React.Component {
* @return {React.Component}
*/
render() {

const boundryStyle = this.props.menuPosition == 'right' ?
{left: deviceScreen.width - this.props.openMenuOffset} :
{right: deviceScreen.width - this.props.openMenuOffset} ;
2 changes: 2 additions & 0 deletions styles.js
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ module.exports = StyleSheet.create({
justifyContent: 'center',
},
menu: {
flex: 1,
backgroundColor: 'transparent',
...absoluteStretch,
},
frontView: {