From 826168f0fca53d1f2b746b54a12cbe25783a2814 Mon Sep 17 00:00:00 2001 From: Abdullah Salem Date: Fri, 26 Feb 2016 03:53:47 +0300 Subject: [PATCH] Fixed the top position of the dropdown --- 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 cb2756433..71ca28966 100644 --- a/js/foundation.util.box.js +++ b/js/foundation.util.box.js @@ -115,7 +115,7 @@ function GetOffsets(element, anchor, position, vOffset, hOffset, isOverflow) { switch (position) { case 'top': return { - left: (Foundation.rtl() ? $anchorDims.offset.left - $eleDims.width + $anchorDims.width : $anchorDims.offset.left), left: $anchorDims.offset.left, + left: (Foundation.rtl() ? $anchorDims.offset.left - $eleDims.width + $anchorDims.width : $anchorDims.offset.left), top: $anchorDims.offset.top - ($eleDims.height + vOffset) } break; -- 2.47.2