diff --git a/src/context.js b/src/context.js index 817384d..73b3079 100644 --- a/src/context.js +++ b/src/context.js @@ -18,7 +18,7 @@ export function alignChild(parent, child, container, alignments, containment) { if (containment.invertH && overflows.h) { alignments = invertH(alignments) } - if (containment.inoverV && overflows.v) { + if (containment.invertV && overflows.v) { alignments = invertV(alignments) } childRect = calculatePosition(parentRect, childRect, alignments)