vendor/assets/js/foundation.util.box.js.es6 in foundation-rails-6.2.3.0 vs vendor/assets/js/foundation.util.box.js.es6 in foundation-rails-6.2.4.0
- old
+ new
@@ -172,11 +172,11 @@
top: $eleDims.windowDims.offset.top
}
break;
case 'left bottom':
return {
- left: $anchorDims.offset.left - ($eleDims.width + hOffset),
+ left: $anchorDims.offset.left,
top: $anchorDims.offset.top + $anchorDims.height
};
break;
case 'right bottom':
return {
@@ -184,10 +184,10 @@
top: $anchorDims.offset.top + $anchorDims.height
};
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
}
}
}