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 satya164 committed Apr 27, 2019
1 parent 1472877 commit d8d5ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,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 d8d5ccc

Please sign in to comment.