@syncfusion/ej2-popups
Advanced tools
Comparing version 1.0.17 to 1.0.22
@@ -128,3 +128,3 @@ import { calculatePosition } from './position'; | ||
} | ||
if (axis.Y) { | ||
if (axis.Y && tEdge.TL.top > -1) { | ||
topFlip(target, eEdge, tEdge, pos, elementRect, true); | ||
@@ -131,0 +131,0 @@ } |
@@ -408,3 +408,3 @@ var __extends = (this && this.__extends) || (function () { | ||
this.focusElements[index]; | ||
if (contentEle) { | ||
if (contentEle && this.contentEle.contains(contentEle)) { | ||
this.focusIndex = this.focusElements.indexOf(contentEle); | ||
@@ -487,6 +487,4 @@ } | ||
} | ||
else { | ||
if (!isNullOrUndefined(this.contentEle)) { | ||
this.element.removeChild(this.contentEle); | ||
} | ||
else if (!isNullOrUndefined(this.contentEle)) { | ||
this.element.removeChild(this.contentEle); | ||
} | ||
@@ -580,2 +578,5 @@ break; | ||
break; | ||
case 'target': | ||
this.popupObj.relateTo = newProp.target; | ||
break; | ||
case 'position': | ||
@@ -582,0 +583,0 @@ if (oldProp.position.X === this.position.X && oldProp.position.Y === this.position.Y) { |
@@ -5,1 +5,2 @@ export * from './popup/index'; | ||
export * from './tooltip/index'; | ||
export * from './spinner/index'; |
@@ -330,3 +330,3 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
else { | ||
else if (!this.isSticky) { | ||
this.hideTooltip(this.animation.close, e, target); | ||
@@ -333,0 +333,0 @@ } |
{ | ||
"name": "@syncfusion/ej2-popups", | ||
"version": "1.0.17", | ||
"version": "1.0.22", | ||
"description": "Essential JS 2 popup Component", | ||
@@ -9,4 +9,4 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "^1.0.16", | ||
"@syncfusion/ej2-buttons": "^1.0.14" | ||
"@syncfusion/ej2-base": "^1.0.22", | ||
"@syncfusion/ej2-buttons": "^1.0.22" | ||
}, | ||
@@ -13,0 +13,0 @@ "devDependencies": { |
@@ -132,3 +132,3 @@ define(["require", "exports", "./position"], function (require, exports, position_1) { | ||
} | ||
if (axis.Y) { | ||
if (axis.Y && tEdge.TL.top > -1) { | ||
topFlip(target, eEdge, tEdge, pos, elementRect, true); | ||
@@ -135,0 +135,0 @@ } |
@@ -403,3 +403,3 @@ var __extends = (this && this.__extends) || (function () { | ||
this.focusElements[index]; | ||
if (contentEle) { | ||
if (contentEle && this.contentEle.contains(contentEle)) { | ||
this.focusIndex = this.focusElements.indexOf(contentEle); | ||
@@ -482,6 +482,4 @@ } | ||
} | ||
else { | ||
if (!ej2_base_4.isNullOrUndefined(this.contentEle)) { | ||
this.element.removeChild(this.contentEle); | ||
} | ||
else if (!ej2_base_4.isNullOrUndefined(this.contentEle)) { | ||
this.element.removeChild(this.contentEle); | ||
} | ||
@@ -575,2 +573,5 @@ break; | ||
break; | ||
case 'target': | ||
this.popupObj.relateTo = newProp.target; | ||
break; | ||
case 'position': | ||
@@ -577,0 +578,0 @@ if (oldProp.position.X === this.position.X && oldProp.position.Y === this.position.Y) { |
@@ -8,1 +8,2 @@ /** | ||
export * from './tooltip/index'; | ||
export * from './spinner/index'; |
@@ -1,2 +0,2 @@ | ||
define(["require", "exports", "./popup/index", "./common/index", "./dialog/index", "./tooltip/index"], function (require, exports, index_1, index_2, index_3, index_4) { | ||
define(["require", "exports", "./popup/index", "./common/index", "./dialog/index", "./tooltip/index", "./spinner/index"], function (require, exports, index_1, index_2, index_3, index_4, index_5) { | ||
"use strict"; | ||
@@ -11,2 +11,3 @@ function __export(m) { | ||
__export(index_4); | ||
__export(index_5); | ||
}); |
@@ -57,3 +57,3 @@ import{Popup} from "./popup"; | ||
/** | ||
* Overrides the global culture and localization value for this component. Default Global culture is 'en-US' | ||
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'. | ||
*/ | ||
@@ -60,0 +60,0 @@ locale(value:string): BuilderProperties; |
@@ -83,3 +83,3 @@ import{Tooltip} from "./tooltip"; | ||
/** | ||
* Overrides the global culture and localization value for this component. Default Global culture is 'en-US' | ||
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'. | ||
*/ | ||
@@ -86,0 +86,0 @@ locale(value:string): BuilderProperties; |
@@ -325,3 +325,3 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
else { | ||
else if (!this.isSticky) { | ||
this.hideTooltip(this.animation.close, e, target); | ||
@@ -328,0 +328,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7222636
120
57519