Skip to content

Commit

Permalink
fix(getPosition Util): Remove shouldUpdatePlace check from position c…
Browse files Browse the repository at this point in the history
…heck

fix #574
  • Loading branch information
Johannes Konze committed Apr 8, 2020
1 parent 843a632 commit 1f8a054
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/getPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export default function(e, target, node, place, desiredPlace, effect, offset) {
newPlace = desiredPlace;
} else if (
insideList.length > 0 &&
shouldUpdatePlace &&
outside(desiredPlace) &&
outside(place)
) {
Expand Down

0 comments on commit 1f8a054

Please sign in to comment.