From 179025a11c4cd03553ab05a98f0a2d35c645176a Mon Sep 17 00:00:00 2001 From: flyingL123 Date: Wed, 25 May 2016 12:29:57 -0400 Subject: [PATCH] Account for hOffset --- js/foundation.util.box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation.util.box.js b/js/foundation.util.box.js index ef56d0877..047ee6c39 100644 --- a/js/foundation.util.box.js +++ b/js/foundation.util.box.js @@ -186,7 +186,7 @@ function GetOffsets(element, anchor, position, vOffset, hOffset, isOverflow) { break; default: return { - left: (Foundation.rtl() ? $anchorDims.offset.left - $eleDims.width + $anchorDims.width : $anchorDims.offset.left), + left: (Foundation.rtl() ? $anchorDims.offset.left - $eleDims.width + $anchorDims.width : $anchorDims.offset.left + hOffset), top: $anchorDims.offset.top + $anchorDims.height + vOffset } } -- 2.47.2