Skip to content

Commit

Permalink
fix: typo in menu component
Browse files Browse the repository at this point in the history
  • Loading branch information
iyadthayyil authored and Trancever committed Jun 27, 2019
1 parent 17c1f81 commit 391fe53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class Menu extends React.Component<Props, State> {
}

// Check if menu fits vertically and if not align it to bottom.
if (top <= windowLayout.width - menuLayout.height - SCREEN_INDENT) {
if (top <= windowLayout.height - menuLayout.height - SCREEN_INDENT) {
positionTransforms.push({
translateY: scaleAnimation.y.interpolate({
inputRange: [0, menuLayout.height],
Expand Down

0 comments on commit 391fe53

Please sign in to comment.