Is the datepicker element the first tab-able element inside the modal? If so, it automatically focuses, and, unfortunately, there are no options not to autofocus on the open.
The only solutions I can think of are ...
- Put some other element in front of the datepicker that can get focus, or
- datepicker dom ""