diff --git a/docs/src/pages/api/DayPickerInput.js b/docs/src/pages/api/DayPickerInput.js index a58897c755..52f51ea0da 100644 --- a/docs/src/pages/api/DayPickerInput.js +++ b/docs/src/pages/api/DayPickerInput.js @@ -23,7 +23,8 @@ export default () => ( inputProps,{' '} overlayComponent,{' '} parseDate, placeholder,{' '} - showOverlay, value + showOverlay, value,{' '} + keepFocus

Event handlers

@@ -246,6 +247,16 @@ function MyDayPickerInput(props) {

The value of the input field.

+

+ + keeFocus boolean = true +

+

+ Keep focus on the input when switching focus to something inside the + dayPickerOverlay. You should disable this if you have custom inputs in + something like an + overlayComponent. +


Event handlers