@datarailsshared/datarailsshared 1.4.110 → 1.4.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/datarailsshared-datarailsshared.umd.js +3 -1
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.111.tgz +0 -0
- package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +4 -2
- package/fesm2015/datarailsshared-datarailsshared.js +3 -1
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.110.tgz +0 -0
|
@@ -3044,7 +3044,9 @@
|
|
|
3044
3044
|
}
|
|
3045
3045
|
if (heightMoreWindowBottom && widthMoreWindowRight && !heightMoreWindowTop || this.position === 'top-left') {
|
|
3046
3046
|
this.position = 'top-left';
|
|
3047
|
-
|
|
3047
|
+
var translateX = "calc(-100% + " + this.drDropdownPosition.width + "px)";
|
|
3048
|
+
var translateY = 'calc(-100% - 8px)';
|
|
3049
|
+
this.renderer.setStyle(this.el.nativeElement, 'transform', "translate(" + translateX + ", " + translateY + ")");
|
|
3048
3050
|
}
|
|
3049
3051
|
if (heightMoreWindowTop && heightMoreWindowBottom) {
|
|
3050
3052
|
this.position = 'left-center';
|