react-big-calendar
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,8 @@ | ||
## [1.4.3](https://github.com/jquense/react-big-calendar/compare/v1.4.2...v1.4.3) (2022-07-19) | ||
### Bug Fixes | ||
* auto scroll on event selection ([#2235](https://github.com/jquense/react-big-calendar/issues/2235)) ([6d87ebb](https://github.com/jquense/react-big-calendar/commit/6d87ebbab146ba5a122180a376919bd6601f15c0)), closes [#2233](https://github.com/jquense/react-big-calendar/issues/2233) | ||
## [1.4.2](https://github.com/jquense/react-big-calendar/compare/v1.4.1...v1.4.2) (2022-07-15) | ||
@@ -2,0 +9,0 @@ |
@@ -126,3 +126,2 @@ "use strict"; | ||
value: function getSnapshotBeforeUpdate() { | ||
this.calculateScroll(); | ||
this.checkOverflow(); | ||
@@ -138,2 +137,3 @@ return null; | ||
this.calculateScroll(); | ||
this.applyScroll(); | ||
@@ -322,3 +322,3 @@ window.addEventListener('resize', this.handleResize); | ||
// If auto-scroll is disabled, we don't actually apply the scroll | ||
if (!this.props.selected && this._scrollRatio != null && this.props.enableAutoScroll === true) { | ||
if (this._scrollRatio != null && this.props.enableAutoScroll === true) { | ||
var content = this.contentRef.current; | ||
@@ -325,0 +325,0 @@ content.scrollTop = content.scrollHeight * this._scrollRatio; // Only do this once |
{ | ||
"name": "react-big-calendar", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Calendar! with events", | ||
@@ -5,0 +5,0 @@ "author": { |
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
2500712
54629