File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ General datepicker component.
23
23
| ` endDate ` | ` instanceOf(Date) ` | | |
24
24
| ` excludeDates ` | ` array ` | | |
25
25
| ` excludeTimes ` | ` array ` | | |
26
+ | ` excludeScrollbar ` | ` array ` | | |
26
27
| ` filterDate ` | ` func ` | | |
27
28
| ` fixedHeight ` | ` bool ` | | |
28
29
| ` forceShowMonthNavigation ` | ` bool ` | | |
Original file line number Diff line number Diff line change 22
22
| ` endDate ` | ` instanceOfDate ` | | |
23
23
| ` excludeDates ` | ` array ` | | |
24
24
| ` excludeTimes ` | ` array ` | | |
25
+ | ` excludeScrollbar ` | ` array ` | | |
25
26
| ` filterDate ` | ` func ` | | |
26
27
| ` fixedHeight ` | ` bool ` | | |
27
28
| ` forceShowMonthNavigation ` | ` bool ` | | |
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ export default class DatePicker extends React.Component {
105
105
} ,
106
106
inlineFocusSelectedMonth : false ,
107
107
showPopperArrow : true ,
108
+ excludeScrollbar : true ,
108
109
customTimeInput : null
109
110
} ;
110
111
}
@@ -226,6 +227,7 @@ export default class DatePicker extends React.Component {
226
227
onDayMouseEnter : PropTypes . func ,
227
228
onMonthMouseLeave : PropTypes . func ,
228
229
showPopperArrow : PropTypes . bool ,
230
+ excludeScrollbar : PropTypes . bool ,
229
231
enableTabLoop : PropTypes . bool ,
230
232
customTimeInput : PropTypes . element
231
233
} ;
@@ -782,6 +784,7 @@ export default class DatePicker extends React.Component {
782
784
showMonthYearPicker = { this . props . showMonthYearPicker }
783
785
showQuarterYearPicker = { this . props . showQuarterYearPicker }
784
786
showPopperArrow = { this . props . showPopperArrow }
787
+ excludeScrollbar = { this . props . excludeScrollbar }
785
788
handleOnKeyDown = { this . onDayKeyDown }
786
789
isInputFocused = { this . state . focused }
787
790
customTimeInput = { this . props . customTimeInput }
You can’t perform that action at this time.
0 commit comments