Skip to content

Commit 11612b6

Browse files
committed
Fix clicking calendar being recognized as click outside
1 parent 7750acc commit 11612b6

11 files changed

+487
-450
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Changelog
22
=========
3+
## 2.8.8
4+
* Fixes issues introduced in v2.8.7 recognizing any calendar view as clickingOutside trigger
5+
36
## 2.8.7
47
* Update react-onclickoutside dependency. That should fix most of the problems about closeOnSelect.
58

DateTime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ var Datetime = React.createClass({
376376
componentProps: {
377377
fromProps: ['value', 'isValidDate', 'renderDay', 'renderMonth', 'renderYear', 'timeConstraints'],
378378
fromState: ['viewDate', 'selectedDate', 'updateOn'],
379-
fromThis: ['setDate', 'setTime', 'showView', 'addTime', 'subtractTime', 'updateSelectedDate', 'localMoment']
379+
fromThis: ['setDate', 'setTime', 'showView', 'addTime', 'subtractTime', 'updateSelectedDate', 'localMoment', 'handleClickOutside']
380380
},
381381

382382
getComponentProps: function() {

0 commit comments

Comments
 (0)