react-calendar-timeline
Advanced tools
Comparing version 0.15.9 to 0.15.10
@@ -12,2 +12,6 @@ # Change Log | ||
### Fixed | ||
* fix issue with time report with onItem\* callbacks for browsers that don't support `x` property in rect object - #266 | ||
## 0.15.9 | ||
@@ -14,0 +18,0 @@ |
@@ -1319,3 +1319,3 @@ 'use strict'; | ||
var _scrollComponent$getB = scrollComponent.getBoundingClientRect(), | ||
scrollX = _scrollComponent$getB.x; | ||
scrollX = _scrollComponent$getB.left; | ||
@@ -1322,0 +1322,0 @@ var xRelativeToTimeline = e.clientX - scrollX; |
{ | ||
"name": "react-calendar-timeline", | ||
"version": "0.15.9", | ||
"version": "0.15.10", | ||
"description": "react calendar timeline", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -886,3 +886,3 @@ import PropTypes from 'prop-types' | ||
const scrollComponent = this.scrollComponent | ||
const { x: scrollX } = scrollComponent.getBoundingClientRect() | ||
const { left: scrollX } = scrollComponent.getBoundingClientRect() | ||
@@ -889,0 +889,0 @@ const xRelativeToTimeline = e.clientX - scrollX |
350475
72
8208