Do not call `input.focus` if not defined
Do not call `input.focus` if not defined

See https://github.com/gpbl/react-day-picker/issues/746#issuecomment-403203664

gpbl/react-day-picker,gpbl/react-day-picker,gpbl/react-day-picker