From: Abdullah Salem Date: Mon, 30 May 2016 23:48:27 +0000 (+0300) Subject: Fixed the position of the bottom-left aligned dropdown X-Git-Tag: v6.2.4-rc1~66^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8868%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixed the position of the bottom-left aligned dropdown --- diff --git a/js/foundation.util.box.js b/js/foundation.util.box.js index 08ed1c6d2..029362dd6 100644 --- a/js/foundation.util.box.js +++ b/js/foundation.util.box.js @@ -174,7 +174,7 @@ function GetOffsets(element, anchor, position, vOffset, hOffset, isOverflow) { break; case 'left bottom': return { - left: $anchorDims.offset.left - ($eleDims.width + hOffset), + left: $anchorDims.offset.left, top: $anchorDims.offset.top + $anchorDims.height }; break;