Skip to content

Commit

Permalink
Change orientation priority
Browse files Browse the repository at this point in the history
  • Loading branch information
gris-martin authored Jun 7, 2018
1 parent 424e43b commit 6f01ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/getPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function (e, target, node, place, desiredPlace, effect, offset) {
let outside = p => outsideLeft(p) || outsideRight(p) || outsideTop(p) || outsideBottom(p)
let inside = p => !outside(p)

let placesList = ['left', 'right', 'top', 'bottom']
let placesList = ['top', 'bottom', 'left', 'right']
let insideList = []
for (let i = 0; i < 4; i++) {
let p = placesList[i]
Expand Down

0 comments on commit 6f01ed8

Please sign in to comment.