Skip to content

Commit 9857dea

Browse files
committed
3.0.11
1 parent be18d2d commit 9857dea

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Change Log
22

3-
### 3.0.11 (2016/07/14 06:57 +00:00)
3+
### 3.0.11 (2016/07/14 09:34 +00:00)
4+
- [#136](https://github.com/wwayne/react-tooltip/pull/136) Check if current element is under transform (@CremAlex)
45
- [#135](https://github.com/wwayne/react-tooltip/pull/135) Transform 3d (@wwayne)
56

67
### 3.0.9 (2016/07/12 00:23 +00:00)

standalone/react-tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ var calculateOffset = function calculateOffset(offset) {
10281028

10291029
// Get the offset of the parent elements
10301030
var getParent = function getParent(currentTarget) {
1031-
var currentParent = currentTarget.parentElement;
1031+
var currentParent = currentTarget;
10321032
while (currentParent) {
10331033
if (currentParent.style.transform.length > 0) break;
10341034
currentParent = currentParent.parentElement;

0 commit comments

Comments
 (0)