Skip to content

Commit 1f8a054

Browse files
author
Johannes Konze
committed
fix(getPosition Util): Remove shouldUpdatePlace check from position check
fix ReactTooltip#574
1 parent 843a632 commit 1f8a054

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils/getPosition.js

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export default function(e, target, node, place, desiredPlace, effect, offset) {
9393
newPlace = desiredPlace;
9494
} else if (
9595
insideList.length > 0 &&
96-
shouldUpdatePlace &&
9796
outside(desiredPlace) &&
9897
outside(place)
9998
) {

0 commit comments

Comments
 (0)