@syncfusion/ej2-popups
Advanced tools
Comparing version 25.1.41 to 25.1.42
@@ -5,2 +5,8 @@ # Changelog | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I579519` - The issue with Tooltip position was improper while assigning margin top to the container has been resolved. | ||
## 25.1.39 (2024-04-09) | ||
@@ -7,0 +13,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 25.1.41 | ||
* version : 25.1.42 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-popups@*", | ||
"_id": "@syncfusion/ej2-popups@25.1.39", | ||
"_id": "@syncfusion/ej2-popups@25.1.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-DKh6rsJSI1bnh3kuR5ctq5TiRBOHKvvfypZLslVli2rdzoO3C314pEDELLH8HH10CtuoE2aVvocfJaf3qmiDGQ==", | ||
"_integrity": "sha512-Oxt5mSi269i2LCAAyuFCzwnRyjLdijs1QIArktov/9Mj2dXjz9ng/dMLka145dva8aWH72t5XiSXxhzo5piYcg==", | ||
"_location": "/@syncfusion/ej2-popups", | ||
@@ -47,4 +47,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-25.1.39.tgz", | ||
"_shasum": "d2500d8a79af9417104f4e1c1f9a09d37a713a52", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-25.1.41.tgz", | ||
"_shasum": "c77a6db1af81b7720b591c70a7943431825efcb3", | ||
"_spec": "@syncfusion/ej2-popups@*", | ||
@@ -96,4 +96,4 @@ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "25.1.41", | ||
"version": "25.1.42", | ||
"sideEffects": false | ||
} |
@@ -174,5 +174,2 @@ var __extends = (this && this.__extends) || (function () { | ||
var elePos = this.collisionFlipFit(target, collisionLeft, collisionTop); | ||
if (!this.isBodyContainer) { | ||
elePos.top -= this.containerElement.getBoundingClientRect().top; | ||
} | ||
elePos.left = elePos.left / scalingFactors.x; | ||
@@ -683,5 +680,5 @@ elePos.top = elePos.top / scalingFactors.y; | ||
return [this.isBodyContainer ? pos.left + offsetPos.left : | ||
(pos.left - this.containerElement.offsetLeft) + offsetPos.left + window.pageXOffset + this.containerElement.scrollLeft, | ||
(pos.left - this.containerElement.getBoundingClientRect().left) + offsetPos.left + window.pageXOffset + this.containerElement.scrollLeft, | ||
this.isBodyContainer ? pos.top + offsetPos.top : | ||
(pos.top - this.containerElement.offsetTop) + offsetPos.top + window.pageYOffset + this.containerElement.scrollTop]; | ||
(pos.top - this.containerElement.getBoundingClientRect().top) + offsetPos.top + window.pageYOffset + this.containerElement.scrollTop]; | ||
}; | ||
@@ -734,3 +731,4 @@ Tooltip.prototype.collisionFlipFit = function (target, x, y) { | ||
var eleOffset = { left: elePos.left, top: elePos.top }; | ||
var position = fit(this.tooltipEle, this.checkCollideTarget(), { X: true, Y: this.windowCollision }, eleOffset); | ||
var position = this.isBodyContainer ? | ||
fit(this.tooltipEle, this.checkCollideTarget(), { X: true, Y: this.windowCollision }, eleOffset) : eleOffset; | ||
this.tooltipEle.style.display = 'block'; | ||
@@ -737,0 +735,0 @@ var arrowEle = select('.' + ARROW_TIP, this.tooltipEle); |
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 not supported yet
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 not supported yet
3848253
54665